Description Usage Format Source Examples
Data from 3-5 year old children performing on the dimensional change card sort task published in Van Bers et al (2011).
1 2 |
A data.frame consisting of the following variable:
pp
participant number
ageM
(numeric) age in months
ageY
(numeric) age in years
ageGr
(numeric) age group
sex
(numeric) age group
nTrPre
(numeric) number of trials completed pre-switch
nTrPre
(numeric) number of trials correct in pre-switch trials
t1Post
(numeric) indicator variable for post switch trial indicating correct (1) or incorrect (0)
t2Post
(numeric) indicator variable for post switch trial indicating correct (1) or incorrect (0)
t3Post
(numeric) indicator variable for post switch trial indicating correct (1) or incorrect (0)
t4Post
(numeric) indicator variable for post switch trial indicating correct (1) or incorrect (0)
t5Post
(numeric) indicator variable for post switch trial indicating correct (1) or incorrect (0)
t6Post
(numeric) indicator variable for post switch trial indicating correct (1) or incorrect (0)
nCorPost
(numeric) number of trials correct post-switch
passPost
(numeric) indicator variable whether post-switch test was passed
Bianca M.C.W. van Bers, Ingmar Visser, Tessa J.P. van Schijndel, Dorothy J. Mandell and Maartje E.J. Raijmakers (2011). The dynamics of development on the Dimensional Change Card Sorting task. Developmental Science, vol 14(5), 960-971.
1 2 3 4 5 6 7 8 9 10 11 | # the original data was in wide format; for analysis with hidden Markov models,
# data in long format is more convenient; the following code was used to reshape
# the data from wide to long format (and make a selection of the columns)
data(dccs)
dccslong <- reshape(
dccs[,c("pp","ageM","sex","t1Post","t2Post","t3Post","t4Post","t5Post","t6Post")],
direction="long",
varying=list(4:9) )
dccslong <- dccslong[order(dccslong$pp),-6]
names(dccslong) <- c("pp","ageM","sex","trial","acc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.