describe.factor: Description of factor variables
Description
Describes a factor variable.Usage
describe.factor(x,varname="",vname.space=10,maxfac=10,show.pc=TRUE)
Arguments
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.
Details
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.