R/recodeString2NA.R

Defines functions recodeString2NA

Documented in recodeString2NA

#### Empty strings to NA
#############################################################################
#' Recode a string to \code{NA}.
#'
#' Deprecated, use \code{\link{recode2NA}} instead..
#'
#'@param GADSdat A \code{GADSdat} object.
#'@param recodeVars Character vector of variable names which should be recoded.
#'@param string Which string should be recoded to \code{NA}?
#'
#'@return Returns the recoded \code{GADSdat}.
#'
#'
#'@export
recodeString2NA <- function(GADSdat, recodeVars = namesGADS(GADSdat), string = "") {
  stop("This function is deprecated. Use recode2NA() instead.")
}

Try the eatGADS package in your browser

Any scripts or data that you put into this service are public.

eatGADS documentation built on Oct. 9, 2024, 5:09 p.m.