get_default: Get default values used internally.

Description Usage Arguments Author(s) Examples

View source: R/defaults.R

Description

This function retrieves internally defined values where the names match the string argument (not case sensitive). default_latents and default_palette are identical to get_default("latents").

Usage

1
2
3
4
5

Arguments

string

A string which matches the default values you would like to return.

exact

If the string matches more than one default value and exact is set to TRUE an error occurs. The error lists the full name of all matching internal defaults. Set this to FALSE to instead return all matches instead.

Author(s)

Kristian D. Olsen

Examples

1
2
3
4
5
lats <- get_default("latents")
pal <- get_default("palette")

identical(lats, default_latents())
identical(pal, default_palette())

itsdalmo/reporttoolDT documentation built on May 18, 2019, 7:11 a.m.