Skip to content

Create functions to set/get formula attribute #28

@drsimonj

Description

@drsimonj

Many twidlr methods involve setting and getting a formula as an attribute. It's a bit messy in base code. Eg...

attr(object, "formula")

Instead, create wrapper functions like set_formula and get_formula. Eg...

get_formula <- function(object) attr(object, "formula")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions