| nma_data-class | R Documentation |
The nma_data class contains the data for a NMA in a standard format,
created using the functions set_ipd(), set_agd_arm(),
set_agd_contrast(), set_agd_surv(), or combine_network(). The sub-class
mlnmr_data is created by the function add_integration(), and further
contains numerical integration points for the aggregate data.
Objects of class nma_data have the following components:
agd_armdata from studies with aggregate data (arm format)
agd_contrastdata from studies with aggregate data (contrast format)
ipddata from studies with individual patient data
treatmentstreatment coding factor for entire network
classestreatment class coding factor (same length as treatments
for entire network)
studiesstudy coding factor for entire network
outcomeoutcome type for each data source, named list
The agd_arm, agd_contrast, and ipd components are
tibbles with the following columns:
.studystudy (as factor)
.trttreatment (as factor)
.trtclasstreatment class (as factor), if specified
.ycontinuous outcome
.sestandard error (continuous)
.revent count (discrete)
.nevent count denominator (discrete, agd_arm only)
.Etime at risk (discrete)
.Survsurvival outcome of type Surv (time-to-event), nested by
study arm
.sample_sizesample size (agd_* only)
...other columns (typically covariates) from the original data frame
Objects of class mlnmr_data additionally have components:
n_intnumber of numerical integration points
int_namesnames of covariates with numerical integration points
int_corcorrelation matrix for covariates used to generate numerical integration points
The agd_arm and agd_contrast tibbles have additional list columns with
prefix .int_, one for each covariate, which contain the numerical
integration points nested as length-n_int vectors within each row.
print.nma_data() for the print method displaying details of the
network, and plot.nma_data() for network plots.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.