depmix-internal: Depmix utility functions

Description Usage Arguments Details Value Author(s)

Description

These functions are used internally by depmix functions. They should not be called directly unless you know what you're doing.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
	
	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 [email protected]


depmix documentation built on May 29, 2017, 11:57 a.m.