Description Usage Arguments Value Author(s) Examples
The function accepts either comma-spaced option names as character strings, a concatenated character vector of such names, or integer positions in the option list. It returns the default values corresponding to the input, without resetting the existing option values.
1 |
... |
either comma-spaced option names as character strings, a concatenated character vector of such character strings, or integer positions in the option list. |
A list with maeve package defaults values for named parameters, but without resetting any option values. If no names are specified, then the entire list of defaults is returned.
Bill Forrest forrest@gene.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | cat( paste( 'maeve::maeve_defaults() returns default parameter',
'values without resetting the current options.'
)
)
## Not run: maeve_defaults( 'spline_color' );
maeve_defaults( 'spline_color', 'alpha_value' );
maeve_defaults( c( 'spline_color', 'alpha_value' ) );
maeve_defaults( 1:3 ); # return defaults for first 3 components of maeve_options().
##
maeve_options( alpha_value = 0.5 ) # change something.
maeve_defaults( 'alpha_value' ); #
## Observe that the newly set value persists until maeve_reset() is called.
maeve_options( 'alpha_value' )
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.