lastd
Analyses experiments in balanced Latin Square
Design, considering a fixed model.
latsd(
treat,
row,
column,
resp,
quali = TRUE,
mcomp = "tukey",
sigT = 0.05,
sigF = 0.05,
unfold = NULL
)
Numeric or complex vector containing the treatments.
Numeric or complex vector containing the rows.
Numeric or complex vector containing the columns.
Numeric or complex vector containing the response variable.
Logic. If TRUE (default), the treatments are assumed qualitative, if FALSE, quantitatives.
Allows choosing the multiple comparison test; the default is the test of Tukey, however, the options are: the LSD test ('lsd'), the LSD test with Bonferroni protection ('lsdb'), the test of Duncan ('duncan'), the test of Student-Newman-Keuls ('snk'), the test of Scott-Knott ('sk'), the Calinski and Corsten test ('ccF') and bootstrap multiple comparison's test ('ccboot').
The signficance to be used for the multiple comparison test; the default is 5%.
The signficance to be used for the F test of ANOVA; the default is 5%.
Says what must be done after the ANOVA. If NULL (default), recommended tests are performed; if '0', just ANOVA is performed; if '1', the simple effects are tested.
The output contains the ANOVA of the LSD, the Shapiro-Wilk normality test for the residuals of the model, the fitted regression models (when the treatments are quantitative) and/or the multiple comparison tests (when the treatments are qualitative).
The arguments sigT and mcomp will be used only when the treatment are qualitative.
GOMES, F. P. Curso de Estatistica Experimental. 10a ed. Piracicaba: ESALQ/USP. 1982. 430.
FERREIRA, E. B.; CAVALCANTI, P. P.; NOGUEIRA D. A. Funcao em codigo R para analisar experimentos em DQL simples, em uma so rodada. In: CONGRESSO DE POS-GRADUACAO DA UNIVERSIDADE FEDERAL DE LAVRAS, 18., 2009, Lavras. Annals... Lavras: UFLA, 2009.
# NOT RUN {
data(ex3)
attach(ex3)
latsd(trat, linha, coluna, resp, quali = TRUE, mcomp = "snk",
sigT = 0.05, sigF = 0.05, unfold=NULL)
# }
Run the code above in your browser using DataLab