birdstate: Transformation of condition into state

View source: R/birdstate.R

birdstateR Documentation

Transformation of condition into state

Description

Transforms the numeric code of the variable condition into a factor defining the state of the bird (dead, alive, sick).

Usage

birdstate(x)

Arguments

x

variable condition with numeric code for the condition of the bird as given in the original EURING data

Value

a factor with the levels "dead", "alive", "sick" and "unknown"

Author(s)

F. Korner-Nievergelt

References

du Feu et al. (2012) EURING Exchange Code 2000+. www.euring.org

See Also

codes2names

Examples

  condition <- 0:9
  birdstate(condition)

birdring documentation built on Oct. 7, 2023, 5:07 p.m.