Description Usage Arguments Value Examples
Extracts the column names for the design matrix
stored in a designmatrix
object. Column
names can also be changed and updated in the
object.
1 2 3 | design_col(x)
design_col(x) <- value
|
x |
An object of class |
The column names of the design matrix stored internally.
1 2 3 4 5 6 | # Example with R data set 'PlantGrowth'
dm = designmatrix( PlantGrowth, list( 'weight', 'group' ) )
design_col( dm )
# Change names
design_col( dm ) = c( 'Control', 'Treat.1', 'Treat.2' )
print( dm )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.