vtStan {visit} | R Documentation |
Call STAN models for MCMC sampling
Description
Call STAN to draw posterior samples of the joint distribution of immunogenicity rate and toxicity risk for parametric and parametric+ model
Usage
vtStan(obs.y, priors, model = 0, iter = 4000, chains = 4,
warmup = 2000, ...)
Arguments
obs.y |
Observed data matrix with
|
priors |
A class |
model |
option of the probability models:
See |
iter |
STAN option: number of iterations |
chains |
STAN option: number of chains |
warmup |
STAN option: number of warmup |
... |
additional parameters for package rstan's sampling method. These
options include |
Value
A rstan
object that contains the posterior sampling results