| .checkRateFunctionOutput | R Documentation |
Called by setRateFunction() to verify that a candidate rate function
returns an array (or vector/list) of the correct dimensions for the
requested rate.
.checkRateFunctionOutput(params, rate, fun)
params |
A MizerParams object |
rate |
Name of the rate being replaced, e.g. |
fun |
Name of the candidate function to validate. |
Invisibly NULL. Called for its side-effect of stopping with an
informative error if the output has the wrong shape.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.