R/normalize_vector.R

Defines functions normalize_vector

## File Name: normalize_vector.R
## File Version: 0.04

#*** normalize vector to sum of length x
normalize_vector <- function(x)
{
    x  <- length(x) * x / sum(x)
    return(x)
}
alexanderrobitzsch/miceadds documentation built on Feb. 2, 2024, 10:21 a.m.