Description Usage Format References Examples
Simulated example data set with nested hierarchical categories.
1 |
An IRT response matrix with 300 persons and 10 four-category items.
De Boeck, P. and Partchev, I. (2012). IRTrees: Tree-Based Item Response Models of the GLMM Family, Journal of Statistical Software – Code Snippets, 48(1), 1–28. https://www.jstatsoft.org/v48/c01/.
1 2 3 4 5 |
num [1:300, 1:10] 0 0 1 3 0 2 0 2 1 1 ...
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10]
[1,] 0 0 2 3 2 1 0 0 0 0
[2,] 0 0 2 2 1 1 2 2 0 1
[3,] 1 1 1 3 3 1 2 3 0 2
[4,] 3 2 1 3 2 2 2 3 2 2
[5,] 0 2 2 3 3 1 0 2 2 1
[6,] 2 0 2 3 3 1 0 1 0 2
'data.frame': 6000 obs. of 5 variables:
$ value : num 0 0 0 1 0 1 0 1 0 0 ...
$ item : Factor w/ 10 levels "i01","i02","i03",..: 1 1 1 1 1 1 1 1 1 1 ...
$ person: Factor w/ 300 levels "p001","p002",..: 1 2 3 4 5 6 7 8 9 10 ...
$ node : Factor w/ 3 levels "node1","node2",..: 1 1 1 1 1 1 1 1 1 1 ...
$ sub : Factor w/ 30 levels "i01:node1","i01:node2",..: 1 1 1 1 1 1 1 1 1 1 ...
value item person node sub
1 0 i01 p001 node1 i01:node1
2 0 i01 p002 node1 i01:node1
3 0 i01 p003 node1 i01:node1
4 1 i01 p004 node1 i01:node1
5 0 i01 p005 node1 i01:node1
6 1 i01 p006 node1 i01:node1
7 0 i01 p007 node1 i01:node1
8 1 i01 p008 node1 i01:node1
9 0 i01 p009 node1 i01:node1
10 0 i01 p010 node1 i01:node1
11 1 i01 p011 node1 i01:node1
12 1 i01 p012 node1 i01:node1
13 0 i01 p013 node1 i01:node1
14 0 i01 p014 node1 i01:node1
15 0 i01 p015 node1 i01:node1
16 0 i01 p016 node1 i01:node1
17 0 i01 p017 node1 i01:node1
18 0 i01 p018 node1 i01:node1
19 0 i01 p019 node1 i01:node1
20 0 i01 p020 node1 i01:node1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.