landscapetools (version 0.5.0)

util_w2cp: util_w2cp

Description

Convert a list of category weighting into a 1D array of cumulative proportions.

Usage

util_w2cp(weighting)

Arguments

weighting

A list of numeric values

Value

Rectangular matrix with values ranging from 0-1

Examples

Run this code
# NOT RUN {
util_w2cp(c(0.2, 0.4, 0.6, 0.9))


# }

Run the code above in your browser using DataLab