dispvar function

Descriptive: Boxplot with standardized data

Descriptive: Boxplot with standardized data

It makes a graph with the variables and/or treatments with the standardized data.

dispvar( data, trat = NULL, theme = theme_bw(), ylab = "Standard mean", xlab = "Variable", family = "serif", textsize = 12, fill = "lightblue" )

Arguments

  • data: data.frame containing the response of the experiment.
  • trat: Numerical or complex vector with treatments
  • theme: ggplot2 theme (default is theme_bw())
  • ylab: Variable response name (Accepts the expression() function)
  • xlab: Treatments name (Accepts the expression() function)
  • family: Font family
  • textsize: Font size
  • fill: Defines chart color

Returns

Returns a chart of boxes with standardized data

Examples

library(AgroR) data("pomegranate") dispvar(pomegranate[,-1]) trat=pomegranate$trat dispvar(pomegranate[,-1], trat)

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi