Thanks, I have looked at this package but I am still trying to understand some of the features. It looks interesting, though.
David J > Date: Wed, 11 May 2011 15:05:32 +0200 > From: i.vis...@uva.nl > To: dav...@qimr.edu.au > CC: r-help@r-project.org > Subject: Re: [R] Vermunt's LEM in R > > depmixS4 can fit equality constraints in latent class and latent markov > models, best, Ingmar > > On Wed, May 11, 2011 at 1:04 PM, David Duffy <dav...@qimr.edu.au> wrote: > > > I don't know of any R package that can match all the functionality of LEM > > eg fitting equality constraints to model parameters a la LISREL. > > > > WRT dumping tables, I would have thought that as.data.frame.table does > > pretty much what you want, [not tested] > > > > newtab <- as.data.frame(table(a,b,c)) > > cat("dim\n") > > for(i in seq(1, ncol(newtab)-1) { > > cat(nlevels(newtab[,1]," ") > > } > > cat("\nlab ") > > for(i in seq(1, ncol(newtab)-1) { > > cat(letters[i], " ") > > } > > cat("\ndat [", newtab[,"Freq"], " ]\n") > > > > > > > > > > -- > > | David Duffy (MBBS PhD) ,-_|\ > > | email: dav...@qimr.edu.au ph: INT+61+7+3362-0217 fax: -0101 / * > > | Epidemiology Unit, Queensland Institute of Medical Research \_,-._/ > > | 300 Herston Rd, Brisbane, Queensland 4029, Australia GPG 4D0B994A v > > > > > > ______________________________________________ > > R-help@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible code. > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.