The goal of slcm
is to provide an implementation of the exploratory
Sparse Latent Class Model (SLCM) for Binary Data described by Chen, Y.,
Culpepper, S. A., and Liang, F. (2020) .
This package contains a new implementation of the proposed SLCM based on
the paper. You may find original papers implementation in the inst/
folder of the package.
You can install the released version of slcm from CRAN with:
install.packages("slcm")
Or, you can be on the cutting-edge development version on GitHub using:
# install.packages("devtools")
devtools::install_github("tmsalab/slcm")
To use slcm
, load the package using:
library("slcm")
From here, the SLCM model can be estimated using:
model_slcm = slcm::slcm(
y = <data>,
k = <k>
)
James Joseph Balamuta and Steven Andrew Culpepper
slcm
packageTo ensure future development of the package, please cite slcm
package
if used during an analysis or simulation study. Citation information for
the package may be acquired by using in R:
citation("slcm")
GPL (>= 2)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.