Description Usage Arguments Value Examples
Forthcoming
1 | interaction(dm, V1, V2, start = NULL)
|
dm |
Forthcoming. |
V1 |
Forthcoming. |
V2 |
Forthcoming. |
start |
Forthcoming. |
Forthcoming.
1 2 3 4 5 6 7 8 | # Example with R data set 'PlantGrowth'
dm = designmatrix( ToothGrowth, 'len' )
# Implement effect coding
subset( dm, T ) = coding( dm, type = 'EC', variable = 'supp', start = 2 )
subset( dm, T ) = coding( dm, type = 'EC', variable = 'dose', start = 3 )
subset( dm, T ) = interaction( dm, 'X2', c('X3','X4'), start = 5 )
print( dm )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.