This is a small R package for teaching purposes in undergrad psychology.
I moved all this into tadaadata/tadaatoolbox
if (!"devtools" %in% installed.packages()){
install.packages("devtools")
}
devtools::install_github("jemus42/qmtut")
I'm more than happy to receive suggestions what else to include in this package, since it is pretty dang minimal as of now.
modus
: A simple function to extract the mode of a frequency tablez_trans
: A simpler version of scale
that always produces mean = 0
and sd = 1
and also returns a vector, not a matrix like scale
.fltrans
: Naive approach to calculating values I don't know how else to refer to than flächentransformiert.nom_chisqu
: Simple wrapper for chisq.test
that produces a single value.nom_phi
: Simple wrapper for vcd::assocstats
to extract phi.nom_v
: Simple wrapper for vcd::assocstats
to extract Cramer's V.nom_c
: Simple wrapper for vcd::assocstats
to extract the contingency coefficient c.nom_lambda
: Simple wrapper for ryouready::nom.lambda
to extract appropriate lambda.ord_gamma
: Simple wrapper for ryouready::ord.gamma
.generate_recodes
: To produce recode assignments for car::recode
for evenly sequenced clusters.interval_labels
: To produce labels for clusters created by cut
.ngo
: As provided by ryouready
, but with proper NA
s and factor labels.MIT
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.