powered by
n2p converts a vector of counts to a vector of proportions.
n2p
n2p(n)
a vector of counts.
n2p returns a vector of proportions.
# NOT RUN { n2p(c(61, 477, 836, 1007)) # }
Run the code above in your browser using DataLab