Learn R Programming

burnr (version 0.2.0)

yearly_recording: Count the number of recording series for each year in an fhx object.

Description

Count the number of recording series for each year in an fhx object.

Usage

yearly_recording(x, injury_event = FALSE)

Arguments

x
An fhx object.
injury_event
Boolean indicating whether injuries should be considered event. Default is FALSE.

Value

A dataframe with a columns giving the year and corresponding number of recording events for that year.

Examples

Run this code
data(lgr2)
yearly_recording(lgr2)

Run the code above in your browser using DataLab