make.design.matrix: Construct standard LLM design matrix.

Description

Makes a design matrix for a (local) log-linear model

Usage

1
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

Author(s)

Zach Kurtz


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.