Description Usage Arguments Value Examples
Provides a recommended statistical method given the measurement level of your data. Appropriate for repeated measurements.
1 |
data |
the data as a data frame, with variables encoded as numeric (for interval/ratio variables), ordered (for ordinal variables), or factor (for nominal variables) |
variables |
a vector of strings naming the related variables from
|
A results object containing:
results$advice | the method recommendation | ||||
results$plot | a scatter plot of the data | ||||
1 2 3 4 5 6 7 8 9 10 11 | exampleData <- data.frame(x1 = rnorm(20),
x2 = rnorm(20),
x3 = rnorm(20),
x4 = as.factor(c(rep(1, 10), rep(2, 10))),
x5 = as.factor(c(rep(1, 5), rep(2, 5), rep(3, 10))),
x6 = as.ordered(c(rep(1, 5), rep(2, 5), rep(3, 10))),
x7 = as.ordered(c(rep(1, 10), rep(2, 5), rep(3, 5))))
repeated(exampleData, variables = c('x1', 'x2', 'x3'))
repeated(exampleData, variables = c('x4', 'x5'))
repeated(exampleData, variables = c('x6', 'x7'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.