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

Description Usage Arguments Value Author(s)

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


zkurtz/lllcrc documentation built on May 31, 2019, 12:14 p.m.