R/r02pro.R

Defines functions r02pro

Documented in r02pro

#' Do the interactive exercises
#'
#' This function provides interactive exercises for each lesson corresponding to each subsection of the book "R Programming: Zero to Pro"
#' @export
#' @import learnr
#' @param id the index of the lesson
#' @return This function is an interactive exercise. Hence, no value returned.
#' @examples
#' #Do the exercise for Section 1.1
#' \dontrun{r02pro(1.1)}
r02pro <- function(id){
nid <- as.character(id)
run_tutorial(nid,'r02pro')
}

Try the r02pro package in your browser

Any scripts or data that you put into this service are public.

r02pro documentation built on May 31, 2023, 8:09 p.m.