run.diploffect.inla.summary.stats: Estimate approximate posterior credible intervals for model...

View source: R/run.diploffect.inla.R

run.diploffect.inla.summary.statsR Documentation

Estimate approximate posterior credible intervals for model parameters from Diploffect.INLA posterior distributions

Description

This function takes a Diploffect.INLA object and estimates the posterior credible intervals of model parameters

Usage

run.diploffect.inla.summary.stats(diploffect.object)

Arguments

diploffect.object

A Diploffect.INLA summary object. Output from run.diploffect.inla.summary.stats(). Contains credible information for all the model parameters.

Value

Diploffect.INLA summary object.

Examples

library(Diploffect.INLA)
data(exampleCC)
data(locusmatrix)
inla.diploffect <- run.diploffect.inla(formula=y~1+(1|strain)+(1|dose.date), add.on=FALSE, data=exampleCC, K=NULL,
                                       prob.matrix=locusmatrix,
                                       num.draws=10, 
                                       use.dip.lincomb=TRUE, seed=1, gamma.rate=1, impute.on="CCline")
inla.diploffect.summary <- run.diploffect.inla.summary.stats(inla.diploffect)

gkeele/Diploffect.INLA documentation built on May 17, 2023, 8:37 a.m.