BinaryTransformation: Transforming data into a binary format

Description Usage Arguments Value Author(s) See Also Examples

Description

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

Usage

1
BinaryTransformation(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.

Value

A binary (0 or 1) vector.

Author(s)

Wilfried Thuiller, Bruno Lafourcade

See Also

help

Examples

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

cbind(xx,yy)

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