describe.factor {prettyR}R Documentation

Description of factor variables

Description

Describes a factor variable.

Usage

 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


[Package prettyR version 2.2-3 Index]