Description Usage Arguments Value Examples
Extracts the dependent variable and full design
matrix from an object of class designmatrix
and
combined them into a single data frame.
1 | getdata(dm)
|
dm |
An object of class |
A data frame with a column for the dependent variable
(labeled DV
), and a remaining set of columns for the
full design matrix extracted from the designmatrix
object.
1 2 3 | # Example with R data set 'PlantGrowth'
dm = designmatrix( PlantGrowth, list( 'weight', 'group' ) )
df = getdata( dm )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.