simulate_endocrinology: Simulate a type 2 diabetes HbA1c set

View source: R/simulate.R

simulate_endocrinologyR Documentation

Simulate a type 2 diabetes HbA1c set

Description

Longitudinal HbA1c. Synthetic data.

Usage

simulate_endocrinology(n_per_arm = 150, seed = 20260317)

Arguments

n_per_arm

Subjects per arm.

seed

Random seed, restored after the call.

Value

A list with adsl and adlb.

Examples

endo <- simulate_endocrinology(n_per_arm = 15)
plot_change(endo$adlb)

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