utils: Utility functions for vulnerability analysis

Description Usage Arguments Details Value Examples

Description

Various utility functions.

Usage

1
2
3
4
5
6
7
8
9
litetvi(spe, y, ybin, ...)

quantileonly(spe, ybin, na.rm = TRUE, ...)

percentileonly(spe, y, ybin, ...)

describe(x, ...)

mae(xx, yy, stdz = FALSE, na.rm = TRUE, ...)

Arguments

spe

matrix or data.frame, species occurrences or abundances.

y

vector, environmental values matching ybin.

ybin

data.frame, of class bingrid.

...

further arguments passed to other functions.

na.rm

logical, should NAs be removed?

x

vector of values to evaluate in describe.

xx, yy

vectors of values to evaluate in mae

stdz

logical, standardize mae output by range of xx?

Details

Lightweight functions to calculate vulnerability indices (litetvi), specific quantiles (quantileonly), or all percentiles (percentileonly).

Value

See below.

Examples

1
### TODO

phytomosaic/vuln documentation built on Sept. 21, 2019, 8:23 a.m.