Description Usage Arguments Value Author(s)

Obtain posterior predictive/credible intervals from a spike-and-slab model

1 2 3 4 5 |

`object` |
a |

`newdata` |
an optional |

`type` |
the type of prediction required. The default is on the scale of
response, the alternative |

`terms` |
an optional character vector of term labels or variable names
for which to return fits/predictions/credible regions. If variable names
instead of term labels are supplied, the function returns
predictions/estimates for |

`aggregate` |
(function) the summary statistic of the posterior predictive
of the linear predictor. Defaults to |

`quantiles` |
(numeric) an optional vector of quantiles for borders of credible regions of the returned values. Defaults to NULL. |

`addIntercept` |
include global intercept term in prediction/estimate?
Defaults to TRUE if |

`...` |
arguments passed from or to other methods (not used) |

If `type ="terms"`

, a list of `data.frame`

s containing the
requested pointwise summary statistics for the supplied terms (use e.g.
`Reduce("+", ...)`

to get row-wise sums of the list-entries).
Otherwise, a `data.frame`

containing the requested pointwise summary
statistics of the posterior predictive of the linear predictor
(`type ="link"`

) or the conditional expectation of the response
(`type ="response"`

) is returned.

Fabian Scheipl

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.