get_posterior_summaries: Post-process MCMC samples

Description Usage Arguments Value Examples

View source: R/RcppExports.R

Description

This function will post-process posterior draws from an object returned from run_mcmc.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
get_posterior_summaries(
  splineS,
  splineT,
  mod,
  numeig,
  iter,
  burnin,
  nchains,
  s,
  t,
  alpha
)

Arguments

splineS

basis matrix in the longitudinal direction

splineT

basis matrix in the functional direction

mod

an object returned from run_mcmc

numeig

number of eigenfunctions to infer

iter

number of total iterations in the original mcmc

burnin

number of these iterations to use as burnin

nchains

number of chains

s

complete data longitudinal times

t

complete data functional times

Value

Posterior marginal eigenfunctions, eigenvalues, mean, and their associated uncertainty.

Examples

1
See the example in Root/Example

jshamsho/LFBayes documentation built on June 8, 2021, 4:38 a.m.