View source: R/association_studies.R
association_study_long | R Documentation |
This function, in combination with test_association
,
can basically replace the function 'association_study
'.
I think test_association
is more intuitive,
and this function is just a small wrapper
that you can use when data is in long format, mimicking behavior
of association_study
.
association_study_long(data, expl.var.names, ...)
data |
data frame to use |
expl.var.names |
character value of column that contains all the names of the response values that need to be investigated separately |
... |
other values will be parsed to |
Note: Response variables should be of the same type (e.g. all numerical, all categorical). Note 2: all blocks should contain enough observations.
data frame with results as output
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.