.df.toclass | R Documentation |
Takes a data frame and converts it to a list with the attributes as specified by the names passed to ...
.df.toclass(df, classname, ...)
df |
data.frame with columns to extract |
classname |
name of class |
... |
Additional names of columns to extract, or vector of names, e.g., treat_col="treatment", or strata_cols=c("s_1", "s_2") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.