Learn R Programming

RobAStBase (version 0.7.1)

RobAStBaseOptions: Function to change the global variables of the package `RobAStBase'

Description

With RobAStBaseOptions you can inspect and change the global variables of the package RobAStBase.

Usage

RobAStBaseOptions(...)
getRobAStBaseOption(x)

Arguments

...
any options can be defined, using name = value or by passing a list of such tagged values.
x
a character string holding an option name.

Value

  • RobAStBaseOptions() returns a list of the global variables. RobAStBaseOptions(x) returns the global variable x. getRobAStBaseOption(x) returns the global variable x. RobAStBaseOptions(x=y) sets the value of the global variable x to y.

concept

  • global options
  • options

See Also

options, getOption

Examples

Run this code
RobAStBaseOptions()
RobAStBaseOptions("kStepUseLast")
RobAStBaseOptions("kStepUseLast" = TRUE)
# or
RobAStBaseOptions(kStepUseLast = 1e-6)
getRobAStBaseOption("kStepUseLast")

Run the code above in your browser using DataLab