R/is_third_party.R

Defines functions is_third_party

Documented in is_third_party

#' Check whether assignment is third party
#'
#' @param x A numeric value from assignment method
#' @return TRUE or FALSE
#' @examples
#' \dontrun{
#' is_third_party(9)
#' is_third_party(13)
#' }

is_third_party <- function(x){
  z <- x == 13 | x == 14
  return(z)
}
publichealthengland/hcaidcs documentation built on Jan. 17, 2024, 1:34 p.m.