Description Usage Arguments Details
Apply a function to chains of samples
1 2 3 | chainApply(s1, f, collapse = TRUE, thin = 1, chains = NULL)
chainApply2(s1, s2, f, collapse = TRUE, thin = 1, chains = NULL)
|
s1 |
a single chain or a list of parallel chains generated by
|
f |
the function to apply to samples |
collapse |
whether to collapse parallel chains to a single chain. |
thin |
rate at which to thin the sample. |
chains |
the set of chains to retain, or |
s2 |
a single chain or a list of parallel chains generated by
|
The function chainApply
applies a function of a single
argument to the samples of a chain or a list of parallel chains
generated by estelleMetropolis
or
stellaMetropolis
.
The function chainApply2
applies a function of two
arguments to samples of two chain or two lists of parallel chains
generated by estelleMetropolis
or
stellaMetropolis
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.