chk_num: Build a table showing numeric values against solution

View source: R/print.R View source: R/junk.R

chk_numR Documentation

Build a table showing numeric values against solution

Description

Build a table showing numeric values against solution

Build a table showing numeric values against solution

Usage

chk_num(vnames, results, nums, solenv, format = "markdown", digits = 3)

chk_num(vnames, results, nums, solenv, format = "markdown", digits = 3)

Arguments

vnames

Character vector of names of variables to be checked.

results

List of results from num_vals_close

nums

Vector of numbers from solution (NAs if missing).

solenv

Solution environment.

format

Format of the output (argument passed to knitr::kable).

digits

Number of digits for formatting output.

x

Character vector of names of variables to be checked.

tolerance

Tolerance for call to num_vals_close.

Details

Checking performed with 'codeattempted' and 'num_vals_close'.

Checking performed with 'codeattempted' and 'num_vals_close'.


dalejbarr/assessr documentation built on Jan. 25, 2024, 10:47 p.m.