ng_min <- numericGap(5.1)
ng <- numericGap(solution = 5.1,
response_identifier = "id_gap_1234",
points = 2,
placeholder = "put your answer here",
expected_length = 4,
tolerance = 5,
tolerance_type = "relative")
Run the code above in your browser using DataLab