Learn R Programming

compositions (version 2.0-2)

wrapped_functions: Standard R functions wrapped for compatibility

Description

These functions of a standard R distribution (from package "base") are wrapped by naive functions in "compositions" with the goal to ensure their normal behavior.

Usage

anova(...)

Arguments

...

arguments passed to the original function (all!)

Value

The same as the original function from package base (i.e. search for it with `?base::anova`)

Details

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

See Also

anova in package "base"

Examples

Run this code
# NOT RUN {
# 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
# }

Run the code above in your browser using DataLab