Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

describe.factor

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


prettyR

Pretty Descriptive Stats

v2.2-3
GPL (>= 2)
Authors
Jim Lemon <drjimlemon@gmail.com>, Philippe Grosjean <phgrosjean@sciviews.org>
Initial release
2019-04-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.