fcrd3fact {doebioresearch} | R Documentation |
The function gives ANOVA, R-square of the model, normality testing of residuals, SEm (standard error of mean), SEd (standard error of difference), interpretation of ANOVA results and multiple comparison test for means.
fcrd3fact(data, fact.A, fact.B, fact.C, Multiple.comparison.test)
data |
dependent variables |
fact.A |
vector containing levels of first factor |
fact.B |
vector containing levels of second factor |
fact.C |
vector containing levels of third factor |
Multiple.comparison.test |
0 for no test, 1 for LSD test, 2 for Duncan test and 3 for HSD test |
ANOVA, interpretation of ANOVA, R-square, normality test result, SEm, SEd and multiple comparison test result for both the factors as well as interaction.
data(factorialdata)
#FCRD analysis along with dunccan test for two dependent var.
fcrd3fact(factorialdata[5:6],factorialdata$Nitrogen,
factorialdata$Phosphorus,factorialdata$Potassium,2)