fun_result_identical | R Documentation |
Do return values from a function match solution?
fun_result_identical(
subfn,
args = list(),
solenv,
solfn = subfn,
sameseed = TRUE,
add = TRUE
)
subfn |
name of function in submission environment |
args |
list of args to pass to function |
solenv |
solution environment |
solfn |
name of solution function |
sameseed |
whether to run the two functions with the same state of |
add |
whether to add feedback |
compare the result of the function in the submission environment to its result in the solution environment
logical
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.