predict.gmjmcmc.2 | R Documentation |
New idea for a more streamlined function... Produces slightly different results from the fun above since this is using all lo.models too.
## S3 method for class 'gmjmcmc.2'
predict(
object,
x,
link = function(x) x,
quantiles = c(0.025, 0.5, 0.975),
pop = 1,
...
)
object |
The model to use. |
x |
The new data to use for the prediction, a matrix where each row is an observation. |
link |
The link function to use |
quantiles |
The quantiles to calculate credible intervals for the posterior moddes (in model space). |
pop |
The population to use. |
... |
Not used. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.