yn_binary_fixer: Factorise binary (Y/N) variables

Description Usage Arguments Author(s) See Also Examples

View source: R/yn_binary_fixer.R

Description

Convert numerical variable into factor Y/N

Usage

1

Arguments

x

numerical variable with 2 levels - 0, 1

...

further arguments passed to or from other methods

Author(s)

Jay Achar jay.achar@doctors.org.uk

See Also

tbcleanr

Examples

1
2
3
4
## Not run: 
yn_binary_fixer(p$renalfail, class = "num")

## End(Not run)

JayAchar/tbcleanr documentation built on Aug. 12, 2020, 8:40 a.m.