Analysis: Completely randomized design evaluated over time
Analysis: Completely randomized design evaluated over time
Function of the AgroR package for the analysis of experiments conducted in a completely randomized, qualitative, uniform qualitative design with multiple assessments over time, however without considering time as a factor.
response: Numerical vector containing the response of the experiment.
alpha.f: Level of significance of the F test (default is 0.05)
alpha.t: Significance level of the multiple comparison test (default is 0.05)
mcomp: Multiple comparison test (Tukey (default), LSD ("lsd"), Scott-Knott ("sk"), Duncan ("duncan") and Kruskal-Wallis ("kw"))
theme: ggplot2 theme (default is theme_classic())
geom: Graph type (columns - "bar" or segments "point")
xlab: treatments name (Accepts the expression() function)
ylab: Variable response name (Accepts the expression() function)
p.adj: Method for adjusting p values for Kruskal-Wallis ("none","holm","hommel", "hochberg", "bonferroni", "BH", "BY", "fdr")
dec: Number of cells
fill: Defines chart color (to generate different colors for different treatments, define fill = "trat")
error: Add error bar
textsize: Font size of the texts and titles of the axes
labelsize: Font size of the labels
pointsize: Point size
family: Font family
sup: Number of units above the standard deviation or average bar on the graph
addmean: Plot the average value on the graph (default is TRUE)
legend: Legend title
ylim: Define a numerical sequence referring to the y scale. You can use a vector or the seq command.
width.bar: width error bar
size.bar: size error bar
posi: Legend position
xnumeric: Declare x as numeric (default is FALSE)
all.letters: Adds all label letters regardless of whether it is significant or not.
Returns
The function returns the p-value of Anova, the assumptions of normality of errors, homogeneity of variances and independence of errors, multiple comparison test, as well as a line graph
Note
The ordering of the graph is according to the sequence in which the factor levels are arranged in the data sheet. The bars of the column and segment graphs are standard deviation.