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. 19, 2024, 8:38 a.m.