lazy_setup: load my most common set of packages and set plot defaults

Description Usage Arguments Value Examples

Description

('lazy' in the colloquial sense, *not* in the sense of lazy evaluation)

Usage

1
2
3
lazy_setup(packages = NULL, quiet = TRUE, show_message = TRUE,
  tim = TRUE, set_plot_theme = TRUE, font_size = 14,
  sparse_grid = FALSE, stringsAsFactors = FALSE)

Arguments

packages

vector of package names, 'defaults' to the five i use most

quiet

logical, to suppress package startup messages

show_message

logical, for one-line console msg w recap of what happened

tim

logical, 'TRUE' (the default) if you want to attach 'lefftpack::' when calling. **NOTE:** if someone besides me starts using this, i would be happy to change the default to 'FALSE' or just remove the argument altogether. just drop me a line.

set_plot_theme

logical, if 'TRUE' sets to the theme i like

font_size

base size for plot theme

sparse_grid

logical, if 'TRUE' then removes minor grid lines in theme

stringsAsFactors

logical, if 'FALSE' (default), then session option for 'stringsAsFactors' set to 'FALSE'

Value

nothing, used only for side-effects of attaching packages and setting plot theme

Examples

1
lefftpack::lazy_setup()

lefft/lefftpack documentation built on May 8, 2019, 1:13 p.m.