powered by
Performs three-factor factorial ANOVA with all interactions.
anova_factorial_3way( data, response, factor1, factor2, factor3, replication = NULL, alpha = 0.05, verbose = TRUE )
List containing ANOVA results
Data frame containing the data
Name of the response variable
Name of first factor (A)
Name of second factor (B)
Name of third factor (C)
Name of replication factor (optional)
Significance level
Logical. If TRUE (default), prints formatted output to console.
Lalit Kumar Rolaniya, Ram Lal Jat, Monika Punia, Raja Ram Choudhary
data <- expand.grid(rep = 1:3, A = c("A1", "A2"), B = c("B1", "B2"), C = c("C1", "C2")) data$yield <- rnorm(nrow(data), 1200, 150) anova_factorial_3way(data, "yield", "A", "B", "C", "rep")
Run the code above in your browser using DataLab