invert.vector: invert.vector

View source: R/invert.vector.R

invert.vectorR Documentation

invert.vector

Description

Inverts a linear vector x, setting min(x) = min(x) and vice versa. Values in between are assumed to be linear values along the scale between min(x) and max(x).

Usage

invert.vector(x)

Arguments

x

a numeric vector to be inverted

Value

a numeric vector with length = length(x)


crazybilly/ucbudar documentation built on July 15, 2024, 5:03 p.m.