Skip to content

Label variables #9

@CRV0503

Description

@CRV0503

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions