extra_lab: Load new extra lab slides into RStudio's Viewer Pane

View source: R/load_lab.R

extra_labsR Documentation

Load new extra lab slides into RStudio's Viewer Pane

Description

Load new extra lab slides into RStudio's Viewer Pane. The function can either be called without an argument extra_lab(), in which case a menu will appear in the console for the user to make their selection, or with a number indicating the desired lab as an argument.

Usage

extra_labs(lab)

extra_lab(lab)

Arguments

lab

Integer/String (optional). Including an integer will load the desired extra lab automatically. Leaving the argument blank will load a menu for users to make a selection from.

Examples

extra_lab() # Loads a menu to choose from
extra_lab(999) # Automatically loads the 999th lab from the menu.
extra_lab('veryinterestinglab') # Automatically loads the veryinterestinglab from the menu.
extra_labs() # Similar to extra_lab()
extra_labs(999) # Similar to extra_lab(999)
extra_labs('veryinterestinglab') # Similar to extra_lab('veryinterestinglab')


mobilizingcs/mobilizr documentation built on Feb. 17, 2024, 7:49 p.m.