count_by_breaks_fast: Count number of values between breaks

Description Usage Arguments Value Examples

Description

Count number of values between breaks

Usage

1

Arguments

x

A vector.

breaks

A vector of breaks (should be sorted).

Value

A vector of counts corresponding of the number of values of x that are between each breaks.

Examples

1
count_by_breaks_fast(x = 1:10, breaks = c(0.5, 1, 3, 9, 9.5, 10))

privefl/advr38pkg documentation built on May 16, 2019, 2:55 a.m.