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

Description Usage Arguments Value Author(s)

View source: R/design.R

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


lllcrc documentation built on May 20, 2017, 4:45 a.m.

Search within the lllcrc package
Search all R packages, documentation and source code