interaction: Forthcoming

Description Usage Arguments Value Examples

View source: R/interaction.R

Description

Forthcoming

Usage

1
interaction(dm, V1, V2, start = NULL)

Arguments

dm

Forthcoming.

V1

Forthcoming.

V2

Forthcoming.

start

Forthcoming.

Value

Forthcoming.

Examples

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 )

rettopnivek/designmatrix documentation built on Jan. 13, 2020, 7:09 p.m.