percent {desctable} | R Documentation |
Return the percentages for the levels of a factor
Description
Return a compatible vector of length nlevels(x) + 1 to print the percentages of each level of a factor
Usage
percent(x)
Arguments
x |
A factor |
Value
A nlevels(x) + 1 length vector of percentages
[Package desctable version 0.3.0 Index]