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

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


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

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