Rdocumentation
powered by
Learn R Programming
lllcrc (version 1.2)
make.design.matrix: Construct standard LLM design matrix.
Description
Makes a design matrix for a (local) log-linear model
Usage
make.design.matrix(k = 3, order.max = k - 1, rasch = FALSE)
Arguments
k
The number of lists
order.max
The maximum number of lists to include in interaction terms
rasch
Logical: if TRUE, include a column for the square of the number of captures
Value
A design matrix as a data frame