Description Usage Arguments Details Value
bcgp_sampling
draws samples from the model defined by class
bcgpmodel
1 2 3 4 5 |
object |
An instance of S4 class |
algorithm |
Either |
scaled |
A logical indicating whether the data should be scaled before fitting. It is highly recommended to scale the data before fitting. |
chains |
A positive integer specifying the number of Markov chains |
cores |
The number of cores to use when executing the Markov chains in
parallel. The default is to use the value of the |
init |
Can be either the string "random" or a list of length
|
numUpdates |
A positive integer for the number of updates in the
proposal stepsize adaptation phase. Ignored if |
burnin |
A positive integer for the number of burnin samples to discard
after the stepsize adaptation phase is finished. This is equivalent to the
parameter |
nmcmc |
The number of samples to be kept for each Markov chain. |
thin |
A positive integer specifying the period for saving samples. The
default is 1, and this number should not be changed, as thinning isn't
necessary in these models, and it throws away information. Currently, only
|
... |
optional parameters, only if |
numAdapt |
A positive integer for the number of samples within each
update in the proposal stepsize adaptation phase. Ignored if
|
This returns an instance of S4 class bcgpfit
. It contains information
about the data, model, sampling algorithm, and sample draws from
the posterior
An instance of S4 class bcgpfit
. It contains information
about the data, model, sampling algorithm, and sample draws from
the posterior.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.