summary.mmp_prior {makemyprior}R Documentation

Short summary

Description

Short summary

Usage

## S3 method for class 'mmp_prior'
summary(object, ...)

## S3 method for class 'mmp_inla'
summary(object, ...)

## S3 method for class 'mmp_stan'
summary(object, ...)

Arguments

object

Object of class mmp_prior, mmp_inla or mmp_stan.

...

For mmp_stan and mmp_inla, see print.data.frame.

Value

Returns summary invisible.

Examples

pri <- makemyprior_example_model()
summary(pri)

if (interactive() && requireNamespace("rstan")){
  res_stan <- inference_stan(ex_prior, iter = 100)
  # Note: For reliable results, increase the number of iterations (e.g., 'iter = 2000')
  summary(res_stan)
}

if (interactive() && requireNamespace("INLA")){
  res_inla <- inference_inla(pri)
  summary(res_inla)
}


[Package makemyprior version 1.2.1 Index]