[R-SIG-Mac] Latent class analysis issue

David Kaplan dkaplan at education.wisc.edu
Fri Mar 21 18:00:23 CET 2008


Hi all,

I'm running the LCA procedure within the E1071 package.  I'm receiving 
the following message that I don't understand

 > lcaread <- read.csv("~/Documents/Teaching/EP 773/EP 773 Examples/LCA 
Example/lca.reading.csv", header=TRUE)
 > attach(lcaread)
 > readclass <- lca(lcaread, 3)
Error in pas[j, ] <- drop(exp(rep(1, nvar) %*% log(mp))) :
  number of items to replace is not a multiple of replacement length
 > print(readclass)
Error in print(readclass) : object "readclass" not found
 > summary(readclass)
Error in summary(readclass) : object "readclass" not found


Thanks in advance,

David

-- 
===============================================================
David Kaplan, Ph.D.
Professor
Department of Educational Psychology
University of Wisconsin - Madison
Educational Sciences, Room, 1061
1025 W. Johnson Street
Madison, WI 53706

email: dkaplan at education dot wisc dot edu
homepage:
http://www.education.wisc.edu/edpsych/facstaff/kaplan/kaplan.htm
Phone: 608-262-0836



More information about the R-SIG-Mac mailing list