Learn R Programming

prettyR (version 1.0-4)

integer.frequency: Calculate frequencies for a vector of integers

Description

Calculates frequencies for a vector of integers

Usage

integer.frequency(x,bins)

Arguments

x
A vector of integers
bins
The values to match for counting.

Value

  • A vector of frequencies the same length as bins.

Details

integer.frequency counts the number of observations in x that match one of the values in bins.

See Also

freq