critical.check.ringing.event {birdring} | R Documentation |
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")
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 |
Value
A new variable called "ringing.event" is added to the data frame.
Author(s)
Kasper Thorup and Fraenzi Korner-Nievergelt
Examples
data(lancol)
lancol$birdID <- paste(lancol$scheme, lancol$ring)
critical.check.ringing.event(lancol)
[Package birdring version 1.6 Index]