search for: lca1random

Displaying 1 result from an estimated 1 matches for "lca1random".

2013 Mar 26
1
randomLCA_with error for me
...0 or 1. I assume I am doing something wrong. Please help. > library(lattice) > library(boot) Attaching package: ‘boot’ The following object(s) are masked from ‘package:lattice’: melanoma > library(utils) > library(randomLCA) > #random parameter latent class model > trt.lca1random <- randomLCA(trt[,1:5],initmodel=0,nclass=1,random=TRUE,quadpoints=41,probit=TRUE) Error in randomLCA(trt[, 1:5], initmodel = 0, nclass = 1, random = TRUE, : patterns must consist of either 0 or 1 > trt.lca2random <- randomLCA(trt[,1:5],initmodel=0,nclass=2,random=TRUE,quadpoints=41,pro...