aov.rcbd: ANOVA for a RCBD

Description Usage Arguments Details Value Author(s) Examples

View source: R/aov_rcbd.R

Description

Fit an analysis of variance model for a RCBD.

Usage

1
aov.rcbd(trait, geno, rep, dfr, maxp = 0.1)

Arguments

trait

The trait to analyze.

geno

The genotypes.

rep

The replications.

dfr

The name of the data frame.

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 an 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 Oct. 7, 2018, 11:05 a.m.