mark-andrews / psyntur

Tools to help teach data analysis using R to NTU Psychology students
Other
5 stars 2 forks source link

Add `selfesteem` from `datarium` #13

Closed mark-andrews closed 3 years ago

mark-andrews commented 3 years ago

And we might as well use the pivoted version, i.e.

pivot_longer(selfesteem, cols = -id, names_to = 'time', values_to = 'score')

And maybe add other data-sets from datarium too.

mark-andrews commented 3 years ago

Both selfesteem and selfesteem2, both pivoted, are available from data.ntupsychology

selfesteem <- read_csv('http://data.ntupsychology.net/selfesteem.csv')
selfesteem2 <- read_csv('http://data.ntupsychology.net/selfesteem2.csv')

They can be added to psyntur as data files, along with documentation. Probably, the character vector should be treated as factors so that these data sets can be used without warning in ezANOVA.