Description Usage Arguments Value Examples
Scale a vector so that it sums to some positive number
1 | sum_to(vec, to = 100L)
|
vec |
A non-negative integer or numeric vector without NA |
to |
A positive number |
A vector that sums to 'to'
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.