summary.interaction {qvirus} | R Documentation |
Summary Method for Interaction Class Objects
Description
This function provides a summary of various statistics for an interaction object, including raw and standardized differences for CD4 lymphocyte counts and viral loads. It returns a structured list of summary statistics, useful for understanding the differences in immune response and viral suppression between HIV phenotypes.
Usage
## S3 method for class 'interaction'
summary(object, ...)
Arguments
object |
An object of class |
... |
Additional arguments (currently not used). |
Value
A list with the following components:
cd_diff_raw
Summary statistics for the raw differences in CD4 lymphocyte counts.
cd_diff_standardized
Summary statistics for the standardized CD4 lymphocyte differences.
vl_diff_raw
Summary statistics for the raw differences in viral loads.
vl_diff_log_transformed
Summary statistics for the log-transformed viral load differences.
vl_diff_log_standardized
Summary statistics for the standardized log-transformed viral load differences.
Examples
data(cd_3)
data(vl_3)
interaction_obj <- create_interactions(cd_3, vl_3)
summary(interaction_obj)