| wrapped_functions | R Documentation |
These functions of a standard R distribution (from package "base" or "stats") are wrapped by naive functions in "compositions" with the goal to ensure their normal behavior with compositional data objects.
anova(...)
... |
arguments passed to the original function (all!) |
The functions documented in this page are just wrapers around base functions
from R that, due to a variety of reasons, need pre- or post-processing when
"compositions" is loaded. Pre-processing are e.g., converting "rmult" class
objects to plain "matrix" objects, or removing sticky class behaviour (see
getStickyClassOption)
The same as the original function from package base (i.e. search for it with '?base::anova').
Raimon Tolosana-Delgado http://www.stat.boogaart.de
anova in package "base" .
# anova:
data("Hydrochem") # load data
Z = acomp(Hydrochem[,7:19]) # select composition
Hydrochem$compo = Z # attach to dataset
md = lm(alr(compo)~log(H), data=Hydrochem) # fit model
anova(md) # anova test
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.