Am I correct in concluding that learnr
does not have a way to ask a numeric question where the answer falls within a range? e.g. Using simulation to calculate a probability, the answer could be anywhere from like .23 to .25.
I believe I need to write a custom grading function with gradethis
?
Looking at the docs and playing around, I think that you're right—need to write something like
pass_if(~ identical(.result %in% 40:45), "Thanks for all the fish."),
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.