Function to check the format of a numeric column when the values are not bounded
testDataNumericNorange(column.name, data, nrcode = NA)
the column name
data frame
non response code corresponding to the column
0, if success -1, if failure
# NOT RUN { testDataNumericNorange("marks",data.frame("marks" = c(210,99), "Name" = c("John","Dora")),-99) # }
Run the code above in your browser using DataCamp Workspace