# NOT RUN {
data(o2cons)
# }
# NOT RUN {
oxy <- RM(O2 ~ Group * Staphylococci * Time, data = o2cons,
subject = "Subject", no.subf = 2, iter = 1000, resampling = "Perm", CPU = 1)
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", no.subf = 2, resampling = "WildBS",
iter = 1000, alpha = 0.01, CPU = 4, seed = 987, dec = 2)
summary(EEG_model)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab