data(o2cons)
if (FALSE) {
oxy <- RM(O2 ~ Group * Staphylococci * Time, data = o2cons,
subject = "Subject", no.subf = 2, iter = 1000,
resampling = "Perm")
summary(oxy)
plot(oxy, factor = "Group")
# For more details including the output of the examples also refer to the
# package vignette.
# using the EEG data, consider additional within-subjects factors 'brain region'
# and 'feature'
data(EEG)
EEG_model <- RM(resp ~ sex * diagnosis * feature * region,
data = EEG, subject = "id", within = c("feature", "region"),
resampling = "WildBS",
iter = 1000, alpha = 0.01, seed = 987, dec = 2)
summary(EEG_model)
}
Run the code above in your browser using DataLab