compress: Compress Object and Retain Minimal Information

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
## 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

1
2
3
4
5
6
7
require(vegsoup)

data(barmstein)
x <- barmstein

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

vegsoup documentation built on Feb. 24, 2021, 3 a.m.