vlog_diff {qvirus}R Documentation

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)

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:

vlog3_diff

Mean differences of logarithmic viral load values.

Examples

data(vl_3)
vl_data <- vl_3[,-1]
result <- vlog_diff(vl_data)

[Package qvirus version 0.0.4 Index]