DQL {AgroR} | R Documentation |

This is a function of the AgroR package for statistical analysis of experiments conducted in Latin Square and balanced design with a factor considering the fixed model.

DQL( trat, line, column, response, norm = "sw", homog = "bt", mcomp = "tukey", alpha.f = 0.05, alpha.t = 0.05, quali = TRUE, transf = 1, grau = 1, geom = "bar", theme = theme_classic(), sup = NA, CV = TRUE, ylab = "Response", xlab = "", textsize = 12, fill = "lightblue", angle = 0, family = "sans", dec = 3, addmean = TRUE, errorbar = TRUE, posi = "top", point = "mean_sd", angle.label = 0 )

`trat` |
Numerical or complex vector with treatments |

`line` |
Numerical or complex vector with lines |

`column` |
Numerical or complex vector with columns |

`response` |
Numerical vector containing the response of the experiment. |

`norm` |
Error normality test ( |

`homog` |
Homogeneity test of variances ( |

`mcomp` |
Multiple comparison test (Tukey ( |

`alpha.f` |
Level of significance of the F test ( |

`alpha.t` |
Significance level of the multiple comparison test ( |

`quali` |
Defines whether the factor is quantitative or qualitative ( |

`transf` |
Applies data transformation (default is 1; for log consider 0) |

`grau` |
Degree of polynomial in case of quantitative factor ( |

`geom` |
Graph type (columns, boxes or segments) |

`theme` |
ggplot2 theme ( |

`sup` |
Number of units above the standard deviation or average bar on the graph |

`CV` |
Plotting the coefficient of variation and p-value of Anova ( |

`ylab` |
Variable response name (Accepts the |

`xlab` |
Treatments name (Accepts the |

`textsize` |
Font size |

`fill` |
Defines chart color (to generate different colors for different treatments, define fill = "trat") |

`angle` |
x-axis scale text rotation |

`family` |
Font family |

`dec` |
Number of cells |

`addmean` |
Plot the average value on the graph ( |

`errorbar` |
Plot the standard deviation bar on the graph (In the case of a segment and column graph) - |

`posi` |
Legend position |

`point` |
Defines whether to plot mean ("mean"), mean with standard deviation ("mean_sd" - |

`angle.label` |
label angle |

The table of analysis of variance, the test of normality of errors (Shapiro-Wilk, Lilliefors, Anderson-Darling, Cramer-von Mises, Pearson and Shapiro-Francia), the test of homogeneity of variances (Bartlett or Levene), the test of independence of Durbin-Watson errors, the test of multiple comparisons (Tukey, LSD, Scott-Knott or Duncan) or adjustment of regression models up to grade 3 polynomial, in the case of quantitative treatments. The column, segment or box chart for qualitative treatments is also returned. The function also returns a standardized residual plot.

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.

CV and p-value of the graph indicate coefficient of variation and p-value of the F test of the analysis of variance.

In the final output when transformation (transf argument) is different from 1, the columns resp and respo in the mean test are returned, indicating transformed and non-transformed mean, respectively.

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

Principles and procedures of statistics a biometrical approach Steel, Torry and Dickey. Third Edition 1997

Multiple comparisons theory and methods. Departament of statistics the Ohio State University. USA, 1996. Jason C. Hsu. Chapman Hall/CRC.

Ramalho M.A.P., Ferreira D.F., Oliveira A.C. 2000. Experimentacao em Genetica e Melhoramento de Plantas. Editora UFLA.

Scott R.J., Knott M. 1974. A cluster analysis method for grouping mans in the analysis of variance. Biometrics, 30, 507-512.

Mendiburu, F., and de Mendiburu, M. F. (2019). Package ‘agricolae’. R Package, Version, 1-2.

library(AgroR) data(porco) attach(porco) DQL(trat, linhas, colunas, resp)

[Package *AgroR* version 1.2.2 Index]