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

Description Usage Arguments Value Author(s)

View source: R/StanDINA_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
StanDINA_mG.script(
  Qmatrix,
  group.num,
  fixeditem.vector = NA,
  class.equal = T,
  save.path = getwd(),
  save.name = "DINA_uninf_multiG"
)

Arguments

Qmatrix

the Q-matrix specified for the LCDM

group.num

number of gourps

fixeditem.vector

item vector

class.equal

class is equal or not. TRUE by default.

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.