piecenorm {piecenorms}R Documentation

Get piecewse normalised values from a vector of observations

Description

Get piecewse normalised values from a vector of observations

Usage

piecenorm(obs, breaks, polarity = 1)

Arguments

obs

A vector of observations.

breaks

The breaks to normalise to.

polarity

Which direction should the normalisation occur.

Value

Vector of normalised observations

Examples

obs <- exp(1:10)
breaks <- c(min(obs), 8, 20, 100, 1000, 25000)
y <- piecenorm(obs, breaks)
plot(obs, y, type = 'l',
xlab = "Original Values",
ylab = "Normalised Values")


[Package piecenorms version 1.1.0 Index]