create_stan_tdcm {tdcmStan}R Documentation

Creating TDCM Stan Code

Description

Automating the creation of Stan code for a TDCM.

Usage

create_stan_tdcm(q_matrix)

Arguments

q_matrix

A tibble containing the assessment Q-matrix.

Value

'stan_code' A list containing the text for the Stan code blocks.

Examples

qmatrix = tibble::tibble(att_1 = c(1, 0, 1, 0, 1, 1), att_2 = c(0, 1, 0, 1, 1, 1))
create_stan_tdcm(q_matrix = qmatrix)

[Package tdcmStan version 3.0.0 Index]