string.to.array: Put LLM vector into a LLM design matrix

Description Usage Arguments Value Author(s)

View source: R/design.R

Description

Given the output of pop.to.counts, i.e., a 1-row dataframe with as many columns as there are observable capture patterns, create a design matrix for log-linear modeling

Usage

1
string.to.array(densi, rasch = FALSE)

Arguments

densi

The capture pattern counts

rasch

Logical: if TRUE, the square of the number of captures is included in the design matrix as the column ck2

Value

A design matrix

Author(s)

Zach Kurtz


lllcrc documentation built on May 2, 2019, 3:34 p.m.