normcols | R Documentation |
divides each column of a matrix by its sum, reducing sample values to observed frequencies
normcols(z)
z |
matrix of sampled numbers (integers) |
matrix of frequencies
This is just a wrapper for scale(z, center = FALSE, scale = colSums(z))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.