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 April 11, 2025, 6 p.m.