View source: R/CodeAndRoll2.R
x/sum(x)
fractions(vec, na_rm = TRUE)
vec
input vector
na_rm
remove NAs
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.