When i try and label my variables the following error message comes up
library(Hmisc)
label(nesarc.sub$S2AQ2) <- "Drank at least 12 alcoholic drinks in last 12 months"
Error in attr(x, "label") <- value: attempt to set an attribute on NULL
confused where I'm setting the attribute on NULL.
If anyone has suggestions let me know thanks.
When i try and label my variables the following error message comes up
Error in attr(x, "label") <- value: attempt to set an attribute on NULL
confused where I'm setting the attribute on NULL.
If anyone has suggestions let me know thanks.