R: Standard R functions wrapped for compatibility

wrapped_functions {compositions} | R Documentation

## Standard R functions wrapped for compatibility

### Description

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.

### Usage

        anova(...)

### Arguments

`...` | arguments passed to the original function (all!)

### 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. Pre-processing are e.g., converting "rmult" class objects to plain "matrix" objects, or removing sticky class behaviour (see `getStickyClassOption`)

### Value

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

### Author(s)

Raimon Tolosana-Delgado http://www.stat.boogaart.de

### See Also

`anova` in package "base" .

### Examples

    # 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

[Package compositions version 2.0-4 Index]