Description Usage Arguments Details Value Examples
View source: R/01_indep_transform.R
Step One: Transforms the independent variables so it can be further used in
mfit
.
1 |
depname |
The name of the dependent variable in character form, e.g.
|
data |
A data.frame holding all relevant explanatory variables. |
group_df |
A data.frame object for grouping. One column, |
The existence of this function is based on the ability to provide groups for
partitioning in ghp
. If there were no groups given, this
function essentially converts the dataframe to a list with one element per
explanatory variable, then puts it into another list and attaches some useful
information.
A list with two elements:
dep: A vector with the dependent variable.
indep: A list with either one vector per variable (ungrouped) as elements, or one data.frame with all variables belonging to one group as elements.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.