Learn R Programming

qvirus (version 0.0.5)

vlogs_diff: Create Mean Standardized Differences from Logarithmic Viral Load Data

Description

This function calculates the mean standardized differences of logarithmic viral loads across time for each individual in the dataset.

Usage

vlogs_diff(vl_data)

Value

An object of class "Interaction" with the following components:

vlogs3_diff

Mean standardized 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).

Examples

Run this code
data(vl_3)
vl_data <- vl_3[,-1]
result <- vlogs_diff(vl_data)

Run the code above in your browser using DataLab