subset.emc | R Documentation |
Shorten an emc Object
## S3 method for class 'emc'
subset(
x,
stage = "sample",
filter = NULL,
thin = 1,
keep_stages = FALSE,
length.out = NULL,
...
)
x |
an emc object |
stage |
A character string. Indicates from which sampling stage(s) to take the samples from (i.e. |
filter |
Integer or numeric vector. If an integer is supplied, iterations up until that integer are removed. If a vector is supplied, the iterations within the range are kept. |
thin |
An integer. By how much to thin the chains |
keep_stages |
Boolean. If |
length.out |
Integer. Alternatively to thinning, you can also select a desired length of the MCMC chains, which will be thinned appropriately. |
... |
additional optional arguments |
A shortened emc object
subset(samples_LNR, length.out = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.