StanDCM.fit: A function to generate leave-one-out cross-validation for...

Description Usage Arguments Value Author(s)

View source: R/StanDCM.fit.R

Description

The StanLCDM.loofit Function to automate Stan code geneartion for LCDMs with binary resposnes

Usage

1
StanDCM.fit(x, pars = "log_lik", cores = 2, save_psis = TRUE)

Arguments

Qmatrix

the Q-matrix specified for the LCDM

savepath

save the .stan file to somewhere; the default path is getwd()

savename

name the .stan

Value

a. stan file saved at the specified path

Author(s)

Zhehan Jiang, University of Alabama, zjiang17@ua.edu


JihongZ/StanDCM documentation built on June 27, 2020, 7:51 a.m.