View source: R/mcmcConfidence.R
getPredictiveDistribution | R Documentation |
Calculates predictive distribution based on the parameters
getPredictiveDistribution(parMatrix, model, numSamples = 1000)
parMatrix |
matrix of parameter values |
model |
model / function to calculate predictions. Outcome should be a vector |
numSamples |
number of samples to be drawn |
If numSamples is greater than the number of rows in parMatrix, or NULL, or FALSE, or less than 1 all samples in parMatrix will be used.
Florian Hartig
getPredictiveIntervals
getCredibleIntervals
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.