Learn R Programming

AgroR (version 1.3.6)

desc: Descriptive: Descriptive analysis

Description

Performs the descriptive analysis of an experiment with a factor of interest.

Usage

desc(trat, response, ylab = "Response", xlab = "Treatment", ylim = NA)

Value

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

Arguments

trat

Numerical or complex vector with treatments

response

Numerical vector containing the response of the experiment.

ylab

Variable response name (Accepts the expression() function)

xlab

x name (Accepts the expression() function)

ylim

y-axis scale

Author

Gabriel Danilo Shimizu, shimizu@uel.br

Leandro Simoes Azeredo Goncalves

Rodrigo Yudi Palhaci Marubayashi

See Also

desc2fat, tabledesc,dispvar

Examples

Run this code
library(AgroR)
data("pomegranate")
with(pomegranate, desc(trat,WL))

Run the code above in your browser using DataLab