Skip to content

Problem with numeric variable #9

@aquintela

Description

@aquintela

Hi,
I am using your package
I have a problema running
explanatory = c("x")
dependent = 'mort_5yr'
colon_s %>%
summary_factorlist(dependent, explanatory,
p=TRUE, add_dependent_label=TRUE)
if I use a numeric variable "x" with less than 6 values, the variable is considered as factor, and the test is a Chi-square, not a t-test

can you help me, please?

thank you very much in advance for your attention, and for your great package!

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