normalize projects a vector or matrix onto the
If all entries (per row or column) get thresholded to
0 (since they are all negative to start with), then
it sets the position of the maximum of
1 and leaves all other entries at 0.
a numeric matrix(like object).
a tolerance level to set values < tol to
0 (after an initial normalization). Default:
x is a vector it returns the thresholded vector
threshold) and normalized by its sum.
x is a matrix it works by column of by row
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.