util_calc_boundaries: util_calc_boundaries

Description Usage Arguments Value Examples

Description

Determine upper class boundaries for classification of a vector with values ranging 0-1 based upon an vector of cumulative proportions.

Usage

1
util_calc_boundaries(x, cumulative_proportions)

Arguments

x

vector of data values.

cumulative_proportions

Vector of class cumulative proportions, as generated by w2cp.

Value

Numerical vector with boundaries for matrix classification

Examples

1
2
3
x <- matrix(runif(100,0,1),10,10)
y <- util_w2cp(c(0.5, 0.25, 0.25)) #cumulative proportion
util_calc_boundaries(x,y)

landscapetools documentation built on May 1, 2019, 9:22 p.m.