frbd2fact {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.
frbd2fact(data, replicationvector, fact.A, fact.B, Multiple.comparison.test)
data |
dependent variables |
replicationvector |
vector containing replications |
fact.A |
vector containing levels of first factor |
fact.B |
vector containing levels of second 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 results for both the factors as well as interaction.
data(factorialdata) #FRBD analysis along with dunccan test for two dependent var. frbd2fact(factorialdata[5:6],factorialdata$Replication, factorialdata$Nitrogen,factorialdata$Phosphorus,2)