htable: Frequency table for a numeric vector

View source: R/htable.R

htableR Documentation

Frequency table for a numeric vector

Description

Uses the hist function to build a frequency table.

Usage

htable(x, sep = " to ", digits = 2, ...)

Arguments

x

numeric vector.

sep

character to be used to build the rownames from the breaks.

digits

integer used to format the breaks.

...

additional arguments passed to hist

Value

a table of frequencies.

Examples

htable(rnorm(400))

eliaskrainski/emisc documentation built on Nov. 18, 2024, 11:02 a.m.