Skip to contents

All functions

Analysis-class .analysis_obj
Analysis Class
BernoulliPrior-class .bernoulli_prior
BernoulliPrior Class
BetaPrior-class .beta_prior
BetaPrior Class
BinaryOutcome-class
BinaryOutcome class
Borrowing-class .borrowing_class
Borrowing Class
CauchyPrior-class .cauchy_prior
CauchyPrior Class
Covariates-class .covariate_class
Covariate Class
ExponentialPrior-class .exponential_prior
ExponentialPrior Class
ExponentialSurvDist-class .exp_surv_dist
ExponentialSurvDist Class
GammaPrior-class .gamma_prior
GammaPrior Class
LogisticBinaryOutcome-class .logistic_bin_outcome
LogisticBinaryOutcome class
NormalPrior-class .normal_prior
NormalPrior Class
Outcome-class
Outcome class
PoissonPrior-class .poisson_prior
PoissonPrior Class
Prior-class
Prior Class
TimeToEvent-class
TimeToEvent class
Treatment-class .treatment_class
Treatment Class
UniformPrior-class .uniform_prior
UniformPrior Class
WeibullPHSurvDist-class .weib_ph_surv_dist
WeibullPHSurvDist Class
add_covariates()
Add Covariates for Model Adjustment
bernoulli_prior()
Prior bernoulli distribution
beta_prior()
Prior beta distribution
borrowing_details()
Specify Borrowing Model
cauchy_prior()
Prior cauchy distribution
check_cmdstanr()
Check Stan
check_data_matrix_has_columns()
Check Data Matrix for Required Columns
create_analysis_obj()
Compile MCMC sampler using STAN and create analysis object
create_data_matrix()
Create Data Matrix
example_matrix
Example data matrix
exp_surv_dist()
Exponential survival distribution
exponential_prior()
Prior exponential distribution
gamma_prior()
Prior gamma distribution
get_vars get_vars,Covariates-method get_vars,Treatment-method get_vars,Borrowing-method get_vars,TimeToEvent-method get_vars,BinaryOutcome-method get_vars,Analysis-method get_vars,NULL-method
Get Variables
logistic_bin_outcome()
Bernoulli distribution with logit parametrization
make_model_string_data()
Make model string of Stan's data block
make_model_string_functions()
Make model string of Stan's functions model bloc
make_model_string_model()
Make model string of Stan's model block
make_model_string_parameters()
Make model string of Stan's parameters model block
make_model_string_transf_param()
Make model string of Stan's transformed parameters model block
mcmc_sample()
Sample from Stan model
normal_prior()
Prior normal distribution
plot(<Prior>,<missing>) plot(<NormalPrior>,<missing>) plot(<BernoulliPrior>,<missing>) plot(<BetaPrior>,<missing>) plot(<CauchyPrior>,<missing>) plot(<ExponentialPrior>,<missing>) plot(<GammaPrior>,<missing>) plot(<PoissonPrior>,<missing>) plot(<UniformPrior>,<missing>)
Plot Prior Objects
plot_pdf()
Plot Probability Density Function Values
plot_pmf()
Plot Probability Mass Function Values
poisson_prior()
Prior poisson distribution
prepare_stan_data_inputs()
Prepare Stan data inputs
rename_draws_covariates()
Rename Covariates in draws Object
treatment_details()
Specify Treatment Details
trim_data_matrix()
Trim model matrix to just include relevant columns
uniform_prior()
Prior uniform distribution
variable_dictionary()
Create Variable Dictionary
weib_ph_surv_dist()
Weibull survival distribution (proportional hazards formulation)