exercise: Get an exercise

View source: R/exercises.R

exerciseR Documentation

Get an exercise

Description

Get an exercise

Usage

exercise(name = c("faux", "fixed", "mixed", "calories"), filename = NULL)

Arguments

name

The name of the exercise

filename

What filename you want to save (defaults to the name of the exercise in the working directory)

Value

Saves a file to the working directory (or path from filename)

Examples

## Not run: 
exercise("faux") # get exercise for the faux workshop
exercise("fixed", "exercises/fixed.Rmd") # save into exercises directory

## End(Not run)

debruine/data-sim-workshops documentation built on April 27, 2024, 8:13 a.m.