rescale | R Documentation |
rescale a numerical vector using a new total sum value
rescale(x, total)
x |
a numerica lvector |
total |
the new total sum to scale to |
a rescaled numerical vector with total sum = total argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.