create_exercise | R Documentation |
This is a convenience function for collecting the input for calling the
function rteachtools::create_exercise()
.
create_exercise( ps_ex_name, ps_course_name, pn_exercise_count, ps_author, pn_nr_problem, pd_creation_date = format(Sys.Date(), "%Y-%m-%d"), pb_edit = FALSE )
ps_ex_name |
name of the exercise |
ps_course_name |
name of the course for which the exercise is created |
pn_exercise_count |
the number of the exercise in the course |
ps_author |
author of the exercise |
pn_nr_problem |
the number of problems in the exercise |
pd_creation_date |
date of creation of the exercise |
pb_edit |
should created file be directly edited |
## Not run: create_exercise(ps_ex_name = "gel_ex01", ps_course_name = "Genetic Evaluation", pn_exercise_count = 1, ps_author = "Peter von Rohr", pn_nr_problem = 2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.