aov.rcbd: ANOVA for a RCBD

Description Usage Arguments Details Value Author(s) Examples

View source: R/aovrcbd.R

Description

Fit an analysis of variance model for a RCBD.

Usage

1
aov.rcbd(trait, treat, rep, data, maxp = 0.1)

Arguments

trait

The trait to analyze.

treat

The treatments.

rep

The replications.

data

The name of the data frame containing the data.

maxp

Maximum allowed proportion of missing values to estimate, default is 10%.

Details

If data is unbalanced, missing values are estimated up to an specified maximum proportion, 10% by default.

Value

It returns ANOVA table.

Author(s)

Raul Eyzaguirre.

Examples

1
2
3
4
## Get a copy with some missing values for trw and run ANOVA
temp <- pjpz09
temp[c(10, 20, 30), "trw"] <- NA
aov.rcbd("trw", "geno", "rep", temp)

reyzaguirre/st4gi documentation built on July 17, 2018, 9:25 a.m.