desc2fat function

Descriptive: Descriptive analysis (Two factors)

Descriptive: Descriptive analysis (Two factors)

It performs the descriptive analysis of an experiment with two factors of interest.

desc2fat(f1, f2, response, ylab = "Response", theme = theme_classic())

Arguments

  • f1: Numeric or complex vector with factor 1 levels
  • f2: Numeric or complex vector with factor 2 levels
  • response: Numerical vector containing the response of the experiment.
  • ylab: Variable response name (Accepts the expression() function)
  • theme: ggplot2 theme (default is theme_classic())

Returns

The function returns exploratory measures of position and dispersion, such as mean, median, maximum, minimum, coefficient of variation, etc ...

Examples

library(AgroR) data(cloro) with(cloro, desc2fat(f1,f2,resp))

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi