| describe.factor {prettyR} | R Documentation |
Describes a factor variable.
describe.factor(x,varname="",vname.space=10,maxfac=10,show.pc=TRUE)
x |
A factor. |
varname |
A name for the variable. describe always passes
the name. |
vname.space |
The width of the variable name display. |
maxfac |
The maximum number of factors to display. |
show.pc |
Whether to show the percentages for each level. |
describe.factor displays the name of the factor, a table of its
values with up to maxfac entries, the modal value of the factor, the
number of valid (not NA) values and the number of values not displayed
if it contained more than maxfac levels.
nil
Jim Lemon