Skip to content

R Package: Confusion about handling factor-valued treatments in BCF #193

@andrewherren

Description

@andrewherren

If a logical treatment vector (TRUE if treated, FALSE if untreated) is converted to a factor (as.factor(treatment_vector)), the vector is internally converted to floating point via as.numeric which transforms the treatment into 2 if treated and 1 if untreated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions