SciencesPo (version 1.3.8)

freq: Frequency table

Description

Simulating the FREQ procedure of SPSS.

Usage

freq(.data, x, verbose = TRUE)

Arguments

.data
The data.frame
x
A column from which the frequency of values is desired.
verbose
A logical value, if TRUE, extra statistics are also provided.

Examples

Run this code
data("cathedral")

freq(cathedral, Type)

cathedral %>% freq(Height)

Run the code above in your browser using DataCamp Workspace