vl_diff {qvirus} | R Documentation |
Create Mean Differences from Longitudinal Viral Load Data
Description
This function calculates the mean differences of viral loads across time for each individual in the dataset.
Usage
vl_diff(vl_data)
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). |
Value
An object of class "Interaction"
with the following components:
- vl3_diff
Mean differences of raw viral load values.
Examples
data(vl_3)
vl_data <- vl_3[,-1]
result <- vl_diff(vl_data)
[Package qvirus version 0.0.4 Index]