birdstate {birdring}R 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)

[Package birdring version 1.4 Index]