Learn R Programming

IPDFileCheck (version 0.8.1)

test_data_numeric_norange: Function to check the format of a numeric column when the values are not bounded

Description

Function to check the format of a numeric column when the values are not bounded

Usage

test_data_numeric_norange(column_name, data, nrcode = NA)

Value

0, if success error, if failure

Arguments

column_name

the column name

data

data frame

nrcode

non response code corresponding to the column

Examples

Run this code
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