summaryHyper: Function to get summary information for the hyperparamters,...

View source: R/summaryHyper.r

summaryHyperR Documentation

Function to get summary information for the hyperparamters, i.e. precision or variance parameters, in the model.

Description

This function returns summary information for the hyperparameters. The default is to use precision parameters, but summary information for variance parameters is available as well.

Usage

  summaryHyper(APCList, var=TRUE)

Arguments

APCList

a APCList object

var

Boolean (default:TRUE) indicating whether the summary information should be returned on the variance parameter scale of precision parameter scale.

Value

A matrix including mean, standard deviation and quantile information.

Author(s)

Andrea Riebler

See Also

BAPC

Examples

## Not run: 
if(requireNamespace("INLA", quietly = TRUE)) {
   require(INLA)
   data(FemLCSweden)
   data(FemPYSweden)
   data(whostandard)

   lc_sweden <- APCList(FemLCSweden, FemPYSweden, gf=5)

   result <- BAPC(lc_sweden, predict=list(npredict=10, retro=TRUE),
      secondDiff=TRUE, stdweight=NULL, verbose=FALSE)
  
   summaryHyper(result, var=FALSE)
}

## End(Not run)

BAPC documentation built on March 23, 2022, 3 p.m.

Related to summaryHyper in BAPC...