load_lab: Load lab slides into RStudio's Viewer Pane

View source: R/load_lab.R

load_labR Documentation

Load lab slides into RStudio's Viewer Pane

Description

Load lab slides into RStudio's Viewer Pane. The function can either be called without an argument load_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

load_lab(lab)

load_labs(lab)

Arguments

lab

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

Examples

load_lab() # Loads a menu to choose from
load_lab(1) # Automatically loads the 1st lab from the menu.
load_labs() # Similar to load_lab()
load_labs(1) # Similar to load_lab(1)


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