Construct standard LLM design matrix.

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.