
Tukey_HSD
Tukey_HSD.RdThis function performs multiple comparisons of treatments by means of Tukey only if the p value of the ANOVA_1 test is equal to or less than pval defined by the user. HSD.test() came from the agricolae package.
Arguments
- Prob
A summary from ANOVA-1 function.
- pval
The significance level (user defined).
- HSD_main
A mine title (user defined).
- HSD_trt
Constant( only y=model) or vector treatment applied to each experimental unit.
- fn_hsd
This function is included in this package Repbio, it returns the phase names in descending order by the average of the response values.
- etiquetas
A data frame containing the user-defined labels that will be used throughout the routine
- formula
A formula notation y~f where y is the response (independent) variable and f is a factor (categorical) variable representing group membership.
- criterio
Criteria for separating active reproductive organisms.
- Phases_legend
A character vector with the name or number of maturity stages, as defined by the user.
Value
1) A TukeyHSD test table hsd_out saved as txt file as: Tukey plus the name of the model variables, acronym criteria established to classify active females to reproduction (criterio) and the txt extension.
2) A TukeyHSD contrast plot saved as pdf file as: Tukey plus the name of the model variables, acronym criteria established to classify active females to reproduction (criterio) and the txt extension Note: criterio is defined outside of this function.