preProcessHooksAdd | R Documentation |
This pre-processing hook is run before the estimation process begins. It is useful for modifying the user interface, the estimation object, the data, or the control object before the estimation process begins. The function must take four arguments: ui, est, data, and control. The function must return a list with elements 'ui', 'est', 'data', and/or 'control'. If the element is not returned, the original object is used. If the element is returned, the original object is replaced with the new object.
preProcessHooksAdd(name, fun)
name |
Character vector representing the name of the hook |
fun |
The function to run |
The function that was added (invisibly)
Matthew L. Fidler
Other preProcessHooks:
preProcessHooks()
,
preProcessHooksRm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.