Learn R Programming

prettyR (version 1.0-4)

describe.factor: Description of factor variables

Description

Describes a factor variable.

Usage

describe.factor(x,varname="",vname.space=10)

Arguments

x
A factor.
varname
A name for the variable. describe always passes the name.
vname.space
The width of the variable name display.

Value

  • nil

Details

describe.factor displays the name of the factor, a table of its values with up to eight 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 eight levels.

See Also

Mode, valid.n, table