FilteringTransformation: Transforming data into a filtered format

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

Description

Function which transform probabilities of success or occurence into a filtered vector according to a selected threshold.

Usage

1
FilteringTransformation(ProbData, CutOffdata)

Arguments

ProbData

a vector containing the data to be converted

CutOffdata

a numeric value containing the threshold to be used for converting ProbData.

Details

The values higher than the threshold are not converted to a "1" but kept while the values lower than the threshold are transformed into a zero.

Value

A vector of zeros and original values of ProbData.

Author(s)

Wilfried Thuiller, Bruno Lafourcade

See Also

help

Examples

1
2
3
4
xx <- rnorm(50,10)
yy <- FilteringTransformation(xx, 10)

cbind(xx,yy)

BIOMOD documentation built on May 2, 2019, 6:48 p.m.