Skip to content

Commit

Permalink
Merge pull request #122 from pfmc-assessments/age-method-10
Browse files Browse the repository at this point in the history
Adds ageing method 10 to Break and Burn category
  • Loading branch information
okenk authored Nov 2, 2023
2 parents 1e197d3 + 9f05ac6 commit 8e74e91
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/codify_age_method.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
#' * 4-thin section;
#' * 5-optical scanner;
#' * 6-length;
#' * 9-unable
#' * 9-unable;
#' * 10-break and bake;
#'
#' ## California Department of Fish and Wildlife
#' * B-break and burn;
Expand Down Expand Up @@ -54,6 +55,7 @@ codify_age_method <- function(x) {
x == 6 ~ "L",
x == "L" ~ "L",
x == "M" ~ "M",
x == 10 ~ "B",
x %in% all_NA ~ NA_character_,
is.na(x) ~ NA_character_,
TRUE ~ NA_character_
Expand Down
3 changes: 2 additions & 1 deletion man/codify_age_method.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8e74e91

Please sign in to comment.