Learn R Programming

adaptr (version 1.4.0)

rescale: Rescale numeric vector to sum to 1

Description

Used internally.

Usage

rescale(x)

Value

Numeric vector, x rescaled to sum to a total of 1.

Arguments

x

numeric vector.