View source: R/extract_association.r
extract_association | R Documentation |
ksnet::get_association
This function is a helper to work with ksnet::get_association
. After obtaining
the results, for example, we could be interesting in keep in one data.frame only those
related to either ANOVA or ANOVA and chi 2.
extract_association(obj, which = c("ANOVA", "corr", "t_test", "chisq_test"))
obj |
a dataframe or a list. |
which |
One of 'ANOVA','corr','t_test','chisq_test'. |
A data.frame
mtcars$cyl <- factor(mtcars$cyl)
mtcars_asociacion <- ksnet::get_get_association(mtcars)
extract_association( mtcars_asociacion, 'ANOVA' )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.