getEventStatistics: Get Event Statistics

View source: R/eventHighLevel.R

getEventStatisticsR Documentation

Get Event Statistics

Description

Get Event Statistics

Usage

getEventStatistics(
  dataFrame,
  seriesName,
  events,
  functions = c("sum", "mean", "min", "max", "number.na"),
  eventNumbers = 1:nrow(events)
)

Arguments

dataFrame

data frame containing event data

seriesName

name of column in dataFrame

events

data frame containing event information as provided by hsGetEvent

functions

define statistical functions

eventNumbers

vector of same length as events has rows, giving the numbers that identify the events. Default: 1:nrow(events)

Value

data frame with event number in first column event and statistical values in further columns.


KWB-R/kwb.event documentation built on June 14, 2022, 1:15 p.m.