reflected the factor thing as been added as new additon
This commit is contained in:
parent
fe9c3f8afe
commit
1a513913ce
1 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ lf_unpaired_stats <- function(lf_data
|
|||
, lf_col_statvars = "param_type"
|
||||
, my_paired = FALSE
|
||||
, stat_adj = "none"){
|
||||
|
||||
# ADDED NEW
|
||||
lf_data[[lf_stat_group]] = as.factor(lf_data[[lf_stat_group]])
|
||||
|
||||
stat_formula = as.formula(paste0(lf_stat_value, "~", lf_stat_group))
|
||||
|
||||
my_stat_df = compare_means(stat_formula
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue