View source: R/basic_functions.R
compute_beta_sample | R Documentation |
Compute the posterior coefficient function from the posterior sample.
compute_beta_sample(posterior_sample, param)
posterior_sample |
a list provided by the function |
param |
a list containing:
|
a matrix containing the coefficient function posterior sample.
data(data1)
data(param1)
data(res_bliss1)
param1$grids <- data1$grids
param1$p <- sapply(data1$grids,length)
param1$Q <- length(data1$x)
beta_sample <- compute_beta_sample(posterior_sample=res_bliss1$posterior_sample,
param=param1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.