am_2anova_trouvelot: am_2anova_trouvelot object.

View source: R/methods.R View source: R/methods.R

am_2anova_trouvelotR Documentation

am_2anova_trouvelot object.

Description

The dataset should be prepared in order to have a column called "trt" that contains the treatments. If the column is not present the function will fail.

Usage

am_2anova_trouvelot(x, col = c("F", "M", "a", "A"), ...)

Arguments

x

dataset containing Trouvelot or Grid data

col

contains the column to test. Should be one among: "F", "M", "a", "A"

...

ignored

Examples

x <- data.frame(Samples = c("Low_phosphate", "Low_phosphate",
                           "Low_phosphate", "Low_phosphate",
                           "Medium_phosphate", "Medium_phosphate",
                           "Medium_phosphate", "Medium_phosphate",
                           "High_phosphate", "High_phosphate",
                           "High_phosphate", "High_phosphate"),
                trt = c("Sand", "Sand", "Soil", "Soil",
                        "Sand", "Sand", "Soil", "Soil",
                        "Sand", "Sand", "Soil", "Soil"),
                F = c(88, 95, 87, 74, 95, 93, 80, 79, 72, 52, 80,
                          53))
am_2anova_trouvelot(x, col = "F")

mchiapello/Ramf documentation built on April 9, 2022, 5:07 p.m.