testDataNumeric

Function to check the format of a numeric column

Function to check the format of a numeric column

Usage
testDataNumeric(column.name, data, nrcode = NA, minval, maxval)
Arguments
column.name

the column name

data

data frame

nrcode

non response code corresponding to the column

minval

minimum value allowed

maxval

maximum value allowed

Value

0, if success -1, if failure

Aliases
  • testDataNumeric
Examples
# NOT RUN {
testDataNumeric("age",data.frame("Age" = c(21,15), "Name" = c("John","Dora")),-99,0,100)
# }
Documentation reproduced from package IPDFileCheck, version 0.3.0, License: CC0

Community examples

Looks like there are no examples yet.