integer.frequency {prettyR}R Documentation

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.

Details

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

Value

A vector of frequencies the same length as bins.

Author(s)

Jim Lemon

See Also

freq


[Package prettyR version 1.0-2 Index]