nsamples.blrmfit | R Documentation |
Return the number of posterior samples
## S3 method for class 'blrmfit'
nsamples(object, ...)
object |
fitted model object |
... |
not used in this function |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.