View source: R/dispvar_function.R
dispvar | R Documentation |
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 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 a chart of boxes with standardized data
Gabriel Danilo Shimizu, shimizu@uel.br
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
library(AgroR)
data("pomegranate")
dispvar(pomegranate[,-1])
trat=pomegranate$trat
dispvar(pomegranate[,-1], trat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.