Learn R Programming

birdring (version 1.6)

critical.check.ringing.event: Checking whether Ringing Event Exists for each Individual Bird.

Description

Adds a variable ringing.event which is TRUE if exactly one ringing event exists and FALSE otherwise.

Usage

critical.check.ringing.event(dat, id = "birdID")

Value

A new variable called "ringing.event" is added to the data frame.

Arguments

dat

a EURING data, read in using read.euring2000plus function

id

The name of the variable that contains the individual identifier, normally a combination of scheme and ring number

Author

Kasper Thorup and Fraenzi Korner-Nievergelt

Examples

Run this code
data(lancol)
lancol$birdID <- paste(lancol$scheme, lancol$ring)
critical.check.ringing.event(lancol)

Run the code above in your browser using DataLab