| extractControlElement | R Documentation |
Extract named elements from MCMC sampler control list
extractControlElement(controlList, elementName, defaultValue, error)
controlList |
control list object, which is passed as an argument to all MCMC sampler setup functions. |
elementName |
character string, giving the name of the element to be extracted from the control list. |
defaultValue |
default value of the control list element, giving the value to be used when the |
error |
character string, giving the error message to be printed if no |
The element of controlList whose name matches elementName. If no controlList name matches elementName, then defaultValue is returned.
Daniel Turek
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.