model_wrapper | R Documentation |
This function performs some common steps such as rearrangeing the data pulling out parameter items into variable and combining the results of applying to model to different subsets of the data (accept and reject responses)
This function performs some common steps such as rearrangeing the data pulling out parameter items into variable and combining the results of applying to model to different subsets of the data (accept and reject responses)
model_wrapper(x, data, model)
model_wrapper(x, data, model)
x |
A named vector containing parameter values to test |
data |
The data for a single subject for which the likelihood should be calculated |
model |
The model to be wrapped and returned |
The log of the likelihood for the data under parameter values x
The log of the likelihood for the data under parameter values x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.