[R] How to Deploy a 'poLCA' Model?

David L Carlson dcarlson at tamu.edu
Tue Feb 24 15:00:52 CET 2015


Looking at package poLCA I see functions poLCA.predcell() and poLCA.table(). If these do not do what you want, you will need to be clearer and provide a reproducible example.

-------------------------------------
David L Carlson
Department of Anthropology
Texas A&M University
College Station, TX 77840-4352


-----Original Message-----
From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of sagnik chakravarty
Sent: Monday, February 23, 2015 6:06 AM
To: drew at votamatic.org
Cc: r-help
Subject: [R] How to Deploy a 'poLCA' Model?

Hi Drew,

I was working with 'poLCA' to fit latent-class model with covariates
[formula: f=cbind(y1,y2,y3) ~ x1*x2*x3*x4]. The output contains a fit table
with coefficients, t-value, std_error and P-value for different
combinations of the covariates.

Now if I want to deploy this model to a new dataset like we do for any
other model with 'predict' function, how to proceed?

I couldn't find any predict function described in the package
documentation. Kindly help.

Thanks,

-- 
Regards,

SAGNIK CHAKRAVARTY

	[[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.



More information about the R-help mailing list