is_param | R Documentation |
Verify that the input name is a valid input parameter for an object
is_param(obj, name)
## S4 method for signature 'struct_class'
is_param(obj, name)
obj |
An object derived from struct_class |
name |
Name of parameter |
TRUE if parameter name is valid, FALSE if not
M = example_model()
is_param(M,'value_1') # TRUE
is_param(M,'alpha') # FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.