StanNCRUM_mG.script: Generate Stan code and Run the estimation for ORDM

Description Usage Arguments Value Author(s)

View source: R/StanNCRUM_mG.script.R

Description

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

Usage

1
2
3
4
5
6
7
8
StanNCRUM_mG.script(
  Qmatrix,
  group.num,
  fixeditem.vector = NA,
  class.equal = T,
  save.path = getwd(),
  save.name = "NCRUM_uninf_multiG"
)

Arguments

Qmatrix

the Q-matrix specified for the LCDM

save.path

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

save.name

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.