R/attachYesNo.r

Defines functions attachYesNo

Documented in attachYesNo

attachYesNo <- function(v){
    res <- factor(v, levels = 0:1, labels = c("no", "yes"))
    return(res)
}

Try the reporttools package in your browser

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

reporttools documentation built on Oct. 12, 2021, 5:06 p.m.