Learn R Programming

graphicalExtremes (version 0.3.2)

get_alert_function: Get alert function

Description

Get a function that can be used to alert the user of invalid inputs. Returns the value implied by the overwrite argument, or the option "graphicalExtremes.default.alert", falling back to warning() if neither is specified.

Usage

get_alert_function(overwrite = NULL)

Value

A function that takes an arbitrary number of strings as arguments.

Arguments

overwrite

NULL or TRUE to read the option value, FALSE to return a dummy function, or a function that takes an arbitrary number of strings as arguments (e.g. stop()).

See Also

graphicalExtremes-package

Other default parameters: get_mc_cores(), get_small_tol()