View source: R/postfit_coef_samples.R
combine_TOP_samples | R Documentation |
Combines and takes the average of TOP posterior samples from all partitions.
combine_TOP_samples(TOP_samples_files, thin = 1, n_samples = 1000)
TOP_samples_files |
Files of TOP posterior samples from all partitions. |
thin |
Thinning rate of extract the posterior samples, must be a positive integer (default = 1, no thinning performed). |
n_samples |
Keeps |
A data frame of combined and averaged posterior samples.
## Not run:
# Randomly selects 1000 posterior samples from each partition.
# Then, combines and takes the average of the posterior samples from all partitions.
TOP_samples <- combine_TOP_samples(TOP_samples_files, n_samples = 1000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.