update.blrm_trial {OncoBayes2} | R Documentation |
Update data and/or prior of a BLRM trial
Description
* Adds data rows to a blrm_trial
object (add_data argument)
* Replaces data of a blrm_trial
object (data argument)
* Sets the prior of a blrm_trial
object (... argument will be
passed to blrm_exnex)
Usage
## S3 method for class 'blrm_trial'
update(object, ...)
Arguments
object |
blrm_trial object |
... |
passed to default |
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)
# the combo2_trial example demonstrates the use of add_data of
# update.blrmfit
example_model("combo2_trial")
## Recover user set sampling defaults
options(.user_mc_options)
[Package OncoBayes2 version 0.8-9 Index]