| num_vals_close | R Documentation | 
Test whether numeric values in the submission are close to corresponding values in the solution environment.
num_vals_close(
  subvar,
  sol_env,
  solvar = subvar,
  ignore.case = FALSE,
  tolerance = 0.002,
  add = TRUE,
  inherits = FALSE
)
| subvar | Name of the submission variable whose value you want to test | 
| sol_env | solution environment | 
| solvar | Name of the solution variable to test against | 
| ignore.case | whether to accept same variable name but different capitalization | 
| tolerance | how close the values have to be | 
| add | whether to add feedback | 
logical; TRUE if abs(x - get(x, sol_env)) < tolerance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.