Put LLM vector into a LLM design matrix

Share:

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

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