nsamples.blrmfit {OncoBayes2} | R Documentation |
Return the number of posterior samples
Description
Return the number of posterior samples
Usage
## S3 method for class 'blrmfit'
nsamples(object, ...)
Arguments
object |
fitted model object |
... |
not used in this function |
Examples
## Setting up dummy sampling for fast execution of example
## Please use 4 chains and 100x more warmup & iter in practice
.user_mc_options <- options(OncoBayes2.MC.warmup=10, OncoBayes2.MC.iter=20, OncoBayes2.MC.chains=1,
OncoBayes2.MC.save_warmup=FALSE)
## run single-agent analysis which defines blrmfit model object
example_model("single_agent", silent=TRUE)
nsamples(blrmfit)
## Recover user set sampling defaults
options(.user_mc_options)
[Package OncoBayes2 version 0.8-9 Index]