load_new_lab: Load new lab slides into RStudio's Viewer Pane

View source: R/load_lab.R

load_new_labR Documentation

Load new lab slides into RStudio's Viewer Pane

Description

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

load_new_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_new_lab() # Loads a menu to choose from
load_new_lab(1) # Automatically loads the 1st lab from the menu.
load_new_labs() # Similar to load_new_lab()
load_new_labs(1) # Similar to load_new_lab(1)


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