n2p {GPIC} | R Documentation |
Calculate Proportions
Description
n2p
converts a vector of counts to a vector of proportions.
Usage
n2p(n)
Arguments
n |
a vector of counts. |
Value
n2p
returns a vector of proportions.
Examples
n2p(c(61, 477, 836, 1007))
[Package GPIC version 0.1.0 Index]