View source: R/association_multiple_dif_test.R
association_multiple_dif_test | R Documentation |
Carry out a multiple comparison test. By default Holm method is used.
association_multiple_dif_test(df, pairs_to_check, pesos = NULL, ...)
df |
A data.frame |
pairs_to_check |
A named list. Each element a character vector with factor names. Each element name is the name of the numeric variable. |
pesos |
Optional. A vector of weights. |
... |
Other arguments passed for |
A list.
df <- mtcars
df$cyl <- as.factor(df$cyl)
df$gear <- as.factor(df$gear)
comparison <- list('mpg' = c('cyl','gear'),
'disp' = c('cyl','gear') )
association_multiple_dif_test( df,pairs_to_check = gear )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.