scoring: Ocean Health Index: Scoring

Description Usage Arguments Value See Also Examples

Description

Scoring functions

Usage

1
  score.rescale(x, xlim = NULL, method = "linear", ...)

Arguments

x

A numeric vector of data.

xlim

The scoring range. If null, derives range from data.

p

A percentage buffer to add to the maximum value.

method

Only 'linear' is supported.

...

Arguments for min, max, pmin, pmax.

Value

Returns scores.

See Also

min, max, pmin, pmax

Examples

1
2
3
4
5
score.max(c(0.5, 1, 2))
score.max(c(0.5, 1, 2), p=0.25)
score.rescale(c(0.5, 1, 2))
score.clamp(c(-0.5, 1, 2))
score.clamp(c(-0.5, 1, 2), xlim=c(-1, 1))

bbest/ohigui documentation built on May 11, 2019, 9:25 p.m.