Test the result of a computation applied to a specific (user-named) variable created in a previous question.
Tests the result of a computation such as mean(newVar)
applied
to a specific variable created in a previous question and
saved behind the scenes as e$newVar
.
func_of_newvar_equals(correct_expression)
correct_expression |
expression expected to be applied |
TRUE
or FALSE
Other AnswerTests:
AnswerTests
,
any_of_exprs()
,
calculates_same_value()
,
expr_creates_var()
,
expr_identical_to()
,
expr_is_a()
,
expr_uses_func()
,
omnitest()
,
val_has_length()
,
val_matches()
,
var_is_a()
## Not run: # Test if user has taken the mean of a variable created # in an earlier question. # func_of_newvar_equals('mean(newVar)') ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.