Learn R Programming

burnr (version 0.4.0)

find_recording: Subset `rings` data.frame to years that are considered recording.

Description

Subset `rings` data.frame to years that are considered recording.

Usage

find_recording(x, injury_event)

Arguments

x

A an fhx object dataframe.

injury_event

Boolean indicating whether injuries should be considered event.

Value

A dataframe with a column of each year which is 'recording'.

Examples

Run this code
# NOT RUN {
require(plyr)
data(lgr2)
ddply(lgr2$rings, 'series', burnr:::find_recording, injury_event = TRUE)

# }

Run the code above in your browser using DataLab