R/Yes_No_from_1_0_Function.R

Defines functions Yes_No_from_1_0_Function

Documented in Yes_No_from_1_0_Function

#' Rename Convert 1/0 to Yes/No
#'
#' @param x Vector of 0/1 data
#'
#' @export

Yes_No_from_1_0_Function <- function(x){
	x[x > 0] <- "Yes"
	x[x == 0] <- "No"
	return(x)
}
ksauby/dataproc documentation built on May 20, 2019, 7:02 p.m.