aov.2f: ANOVA for a 2-factor factorial

Description Usage Arguments Details Value Author(s) Examples

View source: R/aov2f.R

Description

Fit an analysis of variance model for a 2-factor factorial with a CRD or RCBD

Usage

1
aov.2f(trait, A, B, rep, design = c("crd", "rcbd"), data, maxp = 0.1)

Arguments

trait

The trait to analyze.

A

Factor A.

B

Factor B.

rep

The replications or blocks.

design

The statistical design, crd or rcbd.

data

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 the ANOVA table.

Author(s)

Raul Eyzaguirre.

Examples

1
aov.2f("asc.dw", "geno", "treat", "rep", "crd", asc)

reyzaguirre/st4gi documentation built on April 20, 2018, 9:11 a.m.