A R Package for Fitting Bayesian Nested Partially Latent Class Models
install.packages("devtools",repos="http://watson.nci.nih.gov/cran_mirror/")
devtools::install_github("zhenkewu/nplcm")
nplcm
?To study disease etiology from case-control data from multiple sources that have measurement errors. If you are interested in estimating the population etiology pie (fraction), and the probability of each cause for individual case, try nplcm
.
nplcm
that fits the model with or without covariates.Currently implemented for Windows system, 7 or 8, because nplcm
uses WinBUGS
to fit the models;
The .bug
model files are included here;
For Mac OS X system, one can install the package and study the components of
each function. If you find package ks
cannot be loaded due to failure of
loading package rgl
, follow the following steps:
install X11 by going here;
install.packages("http://download.r-forge.r-project.org/src/contrib/rgl_0.95.1200.tar.gz",repo=NULL,type="source")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.