Learn R Programming

tdcmStan (version 3.0.0)

create_threaded_stan_tdcm: Creating Multi-Threaded TDCM Stan Code

Description

Automating the creation of multi-threaded Stan code for a TDCM.

Usage

create_threaded_stan_tdcm(q_matrix)

Value

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

Arguments

q_matrix

A tibble containing the assessment Q-matrix.

Examples

Run this code
qmatrix = tibble::tibble(att_1 = c(1, 0, 1, 0, 1, 1), att_2 = c(0, 1, 0, 1, 1, 1))
create_threaded_stan_tdcm(q_matrix = qmatrix)

Run the code above in your browser using DataLab