pred_int_jags: pred_int_jags

Description Usage Arguments Value

View source: R/pred_int_jags.R

Description

Prediction intervals using JAGS

Usage

1
2
3
4
5
6
7
8
9
pred_int_jags(
  formula,
  data,
  df = NA,
  level = 0.95,
  quiet = FALSE,
  return = c("pdi", "all"),
  ...
)

Arguments

formula

standard R formula response ~ trial

data

data frame

df

degrees of freedom for the t-distribution. If 'NA' it will be treated as a nuisance parameter (default)

level

probability level

quiet

whether to display progress of sampling

return

type of information to return either 'pdi' just the prediction interval or 'all' which include the output from the model and Gelman diagnostics

...

further arguments passed to or from other methods.

Value

prediction interval (or more detail)


femiguez/predintma documentation built on July 5, 2021, 4:16 a.m.