Learn R Programming

burnr (version 0.6.1)

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 events. Default is FALSE.

Value

A data frame with columns giving the year and recording events count.

Examples

Run this code
# NOT RUN {
data(lgr2)
yearly_recording(lgr2)

# }

Run the code above in your browser using DataLab