View source: R/desc2fat_function.R
desc2fat | R Documentation |
It performs the descriptive analysis of an experiment with two factors of interest.
desc2fat(
f1,
f2,
response,
ylab = "Response",
xlab = c("F1", "F2"),
theme = theme_classic()
)
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) |
xlab |
x name (this argument uses the parse function) |
theme |
ggplot2 theme (default is theme_classic()) |
The function returns exploratory measures of position and dispersion, such as mean, median, maximum, minimum, coefficient of variation, etc ...
Gabriel Danilo Shimizu, gabrield.shimizu@gmail.com
Leandro Simoes Azeredo Goncalves
Rodrigo Yudi Palhaci Marubayashi
library(AgroR)
data(cloro)
output=with(cloro, desc2fat(f1,f2,resp))
output$plot_single
output$plot_interaction
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.