vlog_diff: Create Mean Differences from Logarithmic Viral Load Data
Description
This function calculates the mean differences of lograithmic viral loads across time for each individual in the dataset.
Usage
vlog_diff(vl_data)
Value
An object of class "Interaction" with the following components:
vlog3_diff
Mean differences of logarithmic viral load values.
Arguments
vl_data
A data frame of longitudinal viral load values per individual, where rows represent patients and columns represent sequential measurements across time (e.g., years or visits).