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" )
data
: data.frame containing the response of the experiment.trat
: Numerical or complex vector with treatmentstheme
: ggplot2 theme (default is theme_bw())ylab
: Variable response name (Accepts the expression() function)xlab
: Treatments name (Accepts the expression() function)family
: Font familytextsize
: Font sizefill
: Defines chart colorReturns a chart of boxes with standardized data
library(AgroR) data("pomegranate") dispvar(pomegranate[,-1]) trat=pomegranate$trat dispvar(pomegranate[,-1], trat)
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
Useful links