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.

am_2anova_grid(x, col = c("Total", "Hyphopodia", "IntrHyphae",
                           "Arbuscules", "Vesicles"), ...)

Arguments

x

dataset containing Trouvelot or Grid data

col

contains the column to test. Should be one among: "Total", "Hyphopodia", "IntrHyphae", "Arbuscules", "Vesicles"

...

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"), Total = c(88, 95, 87, 74, 95, 93, 80, 79, 72, 52, 80, 53)) am_2anova_grid(x, col = "Total")
#> The pvalue for Samples is 0.0396461025372167. There are significant differences in Total feature.
#> The pvalue for treatment is 0.296875046580374. There are NOT significant differences in Total feature #> .
#> The pvalue for Sample-treatment interaction is 0.296875046580374. There are NOT significant differences in Total feature.