window.bayescomm {BayesComm} | R Documentation |
window.bayescomm
is window function for bayescomm
objects, it calls window.mcmc
from the coda
package.
Parameter chains are subsetted by start
and end
and thinned by thin
.
## S3 method for class 'bayescomm'
window(x, start = NULL, end = NULL, thin = 1, ...)
x |
a |
start |
start iteration |
end |
end iteration |
thin |
thinning interval |
... |
further arguments to pass to |
If start = NULL
(default) the start is taken as the first iteration.
If end = NULL
(default) the end is taken as the final iteration.
If thin = 1
(default) all iterations within the window are retained.
A bayescomm
object with windowed parameter chains.
m1 <- example(BC)[[1]]
m2 <- window(m1, 51, 150, 10)