Learn R Programming

SciencesPo (version 1.3.9)

Frequency: Frequency Table

Description

Simulating the FREQ procedure of SPSS.

Usage

Frequency(.data, x, verbose = TRUE, ...)

## S3 method for class 'default': Frequency(.data, x, verbose = TRUE, ...)

Freq(.data, x, verbose = TRUE, ...)

Arguments

.data
The data.frame.
x
A column for which a frequency of values is desired.
verbose
A logical value, if TRUE, extra statistics are also provided.
...
Additional arguements (currently ignored)

encoding

UTF-8

See Also

freq, crosstable.

Examples

Run this code
data(cathedrals)

Frequency(cathedrals, Type)

cathedrals %>% Frequency(Height)

Run the code above in your browser using DataLab