Learn R Programming

labdsv (version 2.1-0)

convex: Convex Data Transformation

Description

Calculates a convex data transformation for a given number of desired classes.

Usage

convex(n,b=2,stand=FALSE)

Value

a vector of numeric values

Arguments

n

the desired number of values

b

the base of the exponential function

stand

a switch to control standardizing values to a maximum of 1.0

Author

David W. Roberts droberts@montana.edu

Details

Calculates a series of values where the difference between adjacent values is 1/b the previous difference. With the default b=2 you get an octave scale.

See Also

spcmax, samptot, abundtrans, hellinger

Examples

Run this code
convex(5,2)

Run the code above in your browser using DataLab