depmix-internal {depmix} | R Documentation |
Depmix utility functions
Description
These functions are used internally by depmix functions. They should not be called directly unless you know what you're doing.
Usage
checkSetRecode(dat,dmm,tdcov,printlevel=1)
recode(dat,xm)
fblo(x,i,bigB)
fbuo(x,i,bigB)
ppar(x,z)
recitt(itemtypes)
pp(x)
np(x)
pa2conr(x)
paridx(nstates,itemtypes,mat,idx1=0,idx2=0,it=0,comp=1,group=1)
fresp(x,pars)
bdiag(x)
cl2st(cluster,dat,dmm)
cl2stob(cluster,dat,dmm)
kmstart(dat,dmm)
poststart(dat,dmm)
tr2stin(sttr)
Arguments
dat , xm |
See markovdata help. |
dmm , itemtypes , nstates |
See dmm help. |
cluster |
Some clustering of the data, eg from kmeans or posterior estimates that can be used to arrive at starting values for parameters. |
sttr |
transition matrix starting values. |
printlevel , tdcov |
See depmix help. |
x , mat , idx1 , idx2 , it , comp , group |
A vector/matrix(name)/indices et cetera. |
i , z , bigB , pars |
More internal stuff. |
Details
Function bdiag takes as argument a list of matrices and returns the blockdiagonal matrix formed from these, and the other entries padded with zeroes. This function is from package assist by Chunlei Ke and Yuedong Wang.
Value
Most of these functions are used for their side-effect, ie sending stuff to C-routines, or returning recoded stuff (data, itemtypes) et cetera.
Author(s)
Ingmar Visser i.visser@uva.nl