n_fracmax: Normalise as fraction of max value

View source: R/normalise.R

n_fracmaxR Documentation

Normalise as fraction of max value

Description

The ratio of each value of x to max(x).

Usage

n_fracmax(x)

Arguments

x

A numeric vector

Details

x / x_{max}

Value

Numeric vector

Examples

x <- runif(20)
n_fracmax(x)


COINr documentation built on Oct. 9, 2023, 5:07 p.m.