compress {vegsoup}R Documentation

Compress Object and Retain Minimal Information

Description

Set Coverscale("pa"), reduce columns of sites, collapse all layers (if present), and reduce content of taxonomy to only the mandatory columns.

Usage

## S4 method for signature 'Vegsoup'
compress(x, retain)

Arguments

x

Vegsoup* object.

retain

character. Column(s) to retain

Details

If present, the method tries to retain columns family and level from taxonomy(x) and it will otherwise return just the mandatory columns abbr and taxon.

Value

returns an object depending on the input class.

Author(s)

Roland Kaiser

See Also

Coverscale, coverscale

Examples

require(vegsoup)

data(barmstein)
x <- barmstein

compress(x)
compress(x, retain = c("date", "cov"))


[Package vegsoup version 0.2-9 Index]