Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nsamples.blrmfit

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)


## run single-agent analysis which defines blrmfit model object
example_model("single_agent")

nsamples(blrmfit)

## Recover user set sampling defaults
options(.user_mc_options)

OncoBayes2

Bayesian Logistic Regression for Oncology Dose-Escalation Trials

v0.7-0
GPL (>= 3)
Authors
Novartis Pharma AG [cph], Sebastian Weber [aut, cre], Lukas A. Widmer [aut], Andrew Bean [aut], Trustees of Columbia University [cph] (R/stanmodels.R, configure, configure.win)
Initial release
2021-05-07

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.