
Function reference
Exercise Checking Functions
Fully automated table or vector checking. Choose one of these functions to use in the *-check
chunk of your exercise.
-
grade_this_table()
- Grade this table
-
grade_this_vector()
- Grade this vector
-
tbl_check()
tbl_grade()
- Check that the rows and columns of two tables are the same
-
tbl_check_column()
tbl_grade_column()
- Checks that a column is identical across two tables
-
vec_check()
vec_grade()
- Checks that two vectors are the same
-
tbl_check_class()
vec_check_class()
tbl_grade_class()
vec_grade_class()
- Checks that two objects have the same classes
-
tbl_check_dimensions()
vec_check_dimensions()
vec_check_length()
tbl_grade_dimensions()
vec_grade_dimensions()
vec_grade_length()
- Check that the dimensions of two object are the same
-
tbl_check_groups()
tbl_grade_groups()
- Check that the groups of two object are the same
-
tbl_check_is_table()
tbl_grade_is_table()
- Checks that an object is a table
-
vec_check_levels()
vec_grade_levels()
- Check that the levels of two factors are the same
-
tbl_check_names()
vec_check_names()
tbl_grade_names()
vec_grade_names()
- Check that the names of two object are the same
-
vec_check_values()
vec_grade_values()
- Checks that two vectors are contain the same values
Problems
Inspect the contents of a problem
from a check function or transform a problem
into a grade.
-
tblcheck_grade()
- Apply automatic grading to a problem object
-
problem_type()
is_problem()
is_tblcheck_problem()
as_problem()
- Problem helper functions