events: events

Description Usage Arguments Value

View source: R/stat.R

Description

round a series of values to nearest index number in counts

Usage

1
events(vals, index)

Arguments

vals

is a numeric vector of variable values

index

is an numeric vector of index values for 'vals'

Value

a count of vals rounding to values of 'index'


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.