check_pairwise_logOR_two_folders: Posterior predictive checking for nested partially latent...

Description Usage Arguments Value

View source: R/check-pairwise-logOR-two-folders.R

Description

At each MCMC iteration, we generate a new data set based on the model and parameter values at that iteration. The sample size of the new data set equals that of the actual data set, i.e. the same number of cases and controls.

Usage

1
check_pairwise_logOR_two_folders(DIR_NPLCM1, DIR_NPLCM2)

Arguments

DIR_NPLCM1

File path to the first folder that stores results from npLCM fit.

DIR_NPLCM2

File path to the second folder

Value

A figure of posterior predicted log odds ratio compared with the observed log odds ratio for the BrS data. The function generates this figure in your working directory automatically.


zhenkewu/nplcm documentation built on May 28, 2017, 1:43 p.m.