Analysis
Class
Analysis-class.Rd
A class for defining Analysis details. Objects of class
Analysis
should not be created directly but by the constructor
create_analysis_obj()
.
Slots
data_matrix
matrix. The data matrix, including all covariates to be adjusted for, all relevant outcome variables, and treatment arm and external control arm flags.
covariates
Covariate
. Object of classCovariate
as output by the functioncovariate_details()
.outcome
Outcome
. Object of classOutcome
as output byexp_surv_dist()
,weib_ph_surv_dist()
, orlogistic_bin_outcome()
.borrowing
Borrowing
. Object of classBorrowing
as output byborrowing_details()
.treatment
Treatment
. Object of classTreatment
as output bytreatment_details()
.model_string
character. The string that contains the full Stan model code to be compiled.
model
CmdStanModel
. The compiled Stan model as output bycmdstanr::cmdstan_model()
ready_to_sample
logical. Is the object ready to sample?