get_alert_function {graphicalExtremes}R Documentation

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)

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()).

Value

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

See Also

graphicalExtremes-package

Other default parameters: get_mc_cores(), get_small_tol()


[Package graphicalExtremes version 0.3.2 Index]