simulate_infectious: Simulate an antiviral viral-load set

View source: R/simulate.R

simulate_infectiousR Documentation

Simulate an antiviral viral-load set

Description

Log10 viral load and time to clearance. Synthetic data.

Usage

simulate_infectious(n_per_arm = 100, seed = 20260319)

Arguments

n_per_arm

Subjects per arm.

seed

Random seed, restored after the call.

Value

A list with adsl and adlb.

Examples

id <- simulate_infectious(n_per_arm = 15)
plot_change(id$adlb, visit = "day", xlab = "Day")

trialfigs documentation built on Oct. 15, 2026, 5:09 p.m.