View source: R/methods.R View source: R/methods.R
| am_2anova_grid | R Documentation | 
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"), ...)
| x | dataset containing Trouvelot or Grid data | 
| col | contains the column to test. Should be one among: "Total", "Hyphopodia", "IntrHyphae", "Arbuscules", "Vesicles" | 
| ... | ignored | 
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.