data.tdcm {TDCM}R Documentation

Several data sets for the 'tdcm' package.

Description

Several data sets for the 'tdcm' package.

Usage

data.tdcm01

data.tdcm02

data.tdcm03

data.tdcm04

data.tdcm05

Format

data.tdcm01 is simulated sample data that has two time points, four attributes, twenty items, one group of size 1000, and a single Q-matrix. The format is a list of two:

data.tdcm02 is simulated data that has three time points, two attributes, ten items, one group of size 2500, and a single Q-matrix. The format is a list of two:

data.tdcm03 is simulated data that has three time points, two attributes, one group of size 1500, and three different ten-item Q-matrices for each time point. Anchor items are specified as items 1/1/21 and items 14/24. The format is a list of five:

data.tdcm04 is simulated data that has two time points, four attributes, twenty items, two group of size 800 and 900, respectively, and a single Q-matrix. The format is a list of three:

data.tdcm05 is simulated data that has two has one time point, four attributes, and twenty items. For use with the 1-PLCDM. The format is a list of two:

Examples


## Example 1: T = 2, A = 4
data(data.tdcm01, package = "TDCM")
data <- data.tdcm01$data
q.matrix <- data.tdcm01$q.matrix
model <- TDCM::tdcm(data, q.matrix, num.time.points = 2)


[Package TDCM version 0.1.0 Index]