| Analysis-class | R Documentation |
Analysis ClassA class for defining Analysis details. Objects of class
Analysis should not be created directly but by the constructor
create_analysis_obj().
data_matrixmatrix. The data matrix, including all covariates to be adjusted for, all relevant outcome variables, and treatment arm and external control arm flags.
covariatesCovariate. Object of class Covariate as output by
the function covariate_details().
outcomeOutcome. Object of class Outcome as output by
outcome_surv_exponential(), outcome_surv_weibull_ph(), or outcome_bin_logistic().
borrowingBorrowing. Object of class Borrowing as output by
borrowing_full(), borrowing_none(), or borrowing_hierarchical_commensurate().
treatmentTreatment. Object of class Treatment as output by
treatment_details().
model_stringcharacter. The string that contains the full Stan model code to be compiled.
modelCmdStanModel. The compiled Stan model as output by cmdstanr::cmdstan_model()
ready_to_samplelogical. Is the object ready to sample?
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.