codify_age_method.Rd
Code ageing error methods to a set of standard character strings because some agencies use different codes for the same method. For example, break and burn can be "B", "BB", or 1.
codify_age_method(x)
A vector of characters.
B-break and burn;
E-enhanced break and burn;
L-length;
M-more than one age method was used, e.g., "B" and "S";
N-not aged;
O-optical scanner;
X-sectioning
codify_age_method(c("B", "1", "AA", NA))
#> The following unmatched values were found n times in `codify_age_method()`:
#> 'AA' (n = 1)
#> [1] "B" "B" NA NA