R/utils.R
pc.Rd
Calculate percent
pc(x)
vector to calculate the percent from
a vector of percents given the vectors whole.
pc(1:10) #> [1] 0.01818182 0.03636364 0.05454545 0.07272727 0.09090909 0.10909091 #> [7] 0.12727273 0.14545455 0.16363636 0.18181818