desc2fat: Descriptive: Descriptive analysis (Two factors)

View source: R/desc2fat_function.R

desc2fatR Documentation

Descriptive: Descriptive analysis (Two factors)

Description

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

Usage

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())

Value

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

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

Examples

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

AgroR documentation built on May 29, 2024, 4:18 a.m.