powered by
Function to check the format of a numeric column when the values are not bounded
test_data_numeric_norange(column_name, data, nrcode = NA)
0, if success error, if failure
the column name
data frame
non response code corresponding to the column
test_data_numeric_norange("marks", data.frame( "marks" = c(210, 99), "Name" = c("John", "Dora") ), -99)
Run the code above in your browser using DataLab