Learn R Programming

CNPBayes (version 1.2.2)

extract: extract data, latent variable, and batch for given observation

Description

extract data, latent variable, and batch for given observation

extract estimated parameters at particular iteration of simulation.

Allows a user to pass a vector for burnin, thin, and iter.

Usage

"["(x, i, j, ..., drop = FALSE)
"["(x, i, j, ..., drop = FALSE)
"["(x, i, j, ..., drop = FALSE)

Arguments

x
An object of class BatchModel, McmcChains, or McmcParams
i
An element of the instance to be extracted.
j
Not used.
...
Not used.
drop
Not used.

Value

An object of class 'BatchModel'An object of class 'McmcChains'An object of class 'McmcParams'