convert_fakezero: Detect potential miscoding NAs

Description Usage Examples

Description

convert_fakezero is designed to inspect a dataframe and detect potential miscoded NAs as 0. The suspected miscoded columns are returned if convert = F while suspects are converted if convert = T

Usage

1
convert_fakezero(df, convert = F)

Examples

1
2
3
4
5
## Not run: 
# ASSUMING YOU HAVE A df_ILO DATAFRAME IN ENVIRONMENT
convert_fakezero(df)
convert_fakezero(df,convert=T)
## End(Not run)

linogaliana/OpenCancer documentation built on May 30, 2019, 3:43 p.m.