Description Usage Arguments Value

Normalizes a vector o a matrix in the form of x/max(x). Is is a matrix, a column-normalization is performed, which is equivalent to apply(x,2,function(x) x/max(x)).

1 | ```
normalize(x)
``` |

`x` |
a |

returns the normalized vector o matrix.

osd documentation built on May 29, 2017, 8:45 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.