describe.factor: Description of factor variables

Description Usage Arguments Details Value Author(s) See Also

Description

Describes a factor variable.

Usage

1
 describe.factor(x,varname="",horizontal=FALSE,decr.order=TRUE)

Arguments

x

A factor.

varname

A name for the variable. describe always passes the name.

horizontal

Whether to display the results across the page (TRUE) or down the page (FALSE).

decr.order

Whether to order the rows by decreasing frequency.

Details

describe.factor displays the name of the factor, a table of its values, the modal value of the factor and the number of valid (not NA) values.

Value

nil

Author(s)

Jim Lemon

See Also

Mode, valid.n, table


prettyR documentation built on May 2, 2019, 2:16 a.m.