powered by
Normalize vectors to norm 1.
normalize(x,...) # S3 method for default normalize(x,...)
The vectors given, but normalized to norm 1.
a dataset or a single vector of some type
currently not used, intended to select a different norm in the future
K.Gerald v.d. Boogaart http://www.stat.boogaart.de
norm.rmult
data(SimulatedAmounts) normalize(c(1,2,3)) normalize(acomp(c(1,2,3))) norm(normalize(acomp(sa.groups)))
Run the code above in your browser using DataLab