attach_pop: Functions that attach and detach environments based on which...

View source: R/attach_pop.R

attach_popR Documentation

Functions that attach and detach environments based on which populations are used for a given table number

Description

Functions that attach and detach environments based on which populations are used for a given table number

Usage

attach_pop(number, verbose = options()$verbose, rm_envir = TRUE)

detach_pop(number, verbose = options()$verbose)

Arguments

number

a character string, or number, giving the number of a table or figure. Be careful if you want '2.10' rather than 2.1, say .

verbose

logical to print information on changes to the global environment or external files. Defaults to options()$verbose.

rm_envir

logical, default=TRUE. Whether to run rm_envir first before attaching a population.

Value

invisibly returns an environment for attaching, or NULL for detaching.

Functions

  • attach_pop(): attaches a population

  • detach_pop(): detaches a populations

See Also

attach detach rm_envir


shug0131/cctu documentation built on Nov. 10, 2023, 12:03 p.m.