predict.gmjmcmc.2: New idea for a more streamlined function... Produces slightly...

predict.gmjmcmc.2R Documentation

New idea for a more streamlined function... Produces slightly different results from the fun above since this is using all lo.models too.

Description

New idea for a more streamlined function... Produces slightly different results from the fun above since this is using all lo.models too.

Usage

## S3 method for class 'gmjmcmc.2'
predict(
  object,
  x,
  link = function(x) x,
  quantiles = c(0.025, 0.5, 0.975),
  pop = 1,
  ...
)

Arguments

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.


jonlachmann/GMJMCMC documentation built on April 22, 2024, 4:21 a.m.