compress {vegsoup} | R Documentation |
Set Coverscale("pa")
, reduce columns of sites, collapse all layers
(if present), and reduce content of taxonomy to only the mandatory columns.
## S4 method for signature 'Vegsoup' compress(x, retain)
x |
|
retain |
character. Column(s) to retain |
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
.
returns an object depending on the input class.
Roland Kaiser
require(vegsoup) data(barmstein) x <- barmstein compress(x) compress(x, retain = c("date", "cov"))