getOption.Options | R Documentation |
Gets an option in the options tree structure or return a default value.
## S3 method for class 'Options'
getOption(this, pathname=NULL, defaultValue=NULL, ...)
pathname |
A single or a |
defaultValue |
The default value to be returned, if option is
missing. If multiple options are queried at the same times, multiple
default values may be specified as a |
... |
Not used. |
If a single option is queried, a single value is returned.
If a vector
of options are queried, a list
of values are returned.
For non-existing options, the default value is returned.
Henrik Bengtsson
*hasOption()
.
*setOption()
.
For more information see Options
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.