The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Contains data organized by topic: categorical data, regression model, means comparisons, independent and repeated measures ANOVA, mixed ANOVA and ANCOVA.
The two data sets (Titanic
and housetasks
)
are frequency/contingency table. We’ll create our demo data sets by
recovering the original data from Titanic and housetasks tables.
To do so, first copy and paste the following helper function:
<- function(x, countcol = "Freq") {
counts_to_cases if(!inherits(x, "table")) x <- as.table(as.matrix(x))
<- as.data.frame(x)
x # Get the row indices to pull from x
<- rep.int(seq_len(nrow(x)), x[[countcol]])
idx # Drop count column
<- NULL
x[[countcol]] # Get the rows from x
<- x[idx, ]
x rownames(x) <- 1:nrow(x)
x }
Then, recover the original data as follow:
# Load the data
data("Titanic")
data("housetasks", package = "factoextra")
# Recover the original raw data
<- counts_to_cases(Titanic)
titanic.raw <- counts_to_cases(housetasks) housetasks.raw
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.