Skip to contents

Normalize a vector

Normalize a vector

Usage

normalize(cov)

normalize(cov)

Arguments

cov

a vector

Value

a vector

a vector

Examples

normalize(c(1:5))
#> [1] 0.00 0.25 0.50 0.75 1.00
normalize(c(1:5))
#> [1] 0.00 0.25 0.50 0.75 1.00