theta.list: Convert the parameter vector to a list in the internal format

Description Usage Arguments Examples

View source: R/theta.list.R

Description

This internal function converts a parameter vector to a prefered list format

Usage

1
theta.list(param, r, n.class = 2)

Arguments

param

The vector of parameters of the model. It represents elements of each transition matrix apart from the last column.

r

The dimension vector of the data (r[1],...,r[m])

n.class

The number of hidden classes

Examples

1
theta.list(param,r,class=2)

pzwiernik/LatentClass documentation built on May 26, 2019, 11:35 a.m.