radtr {random.cdisc.data}R Documentation

Tumor Response Analysis Dataset (ADTR)

Description

[Stable]

Function for generating a random Tumor Response Analysis Dataset for a given Subject-Level Analysis Dataset.

Usage

radtr(
  adsl,
  param = c("Sum of Longest Diameter by Investigator"),
  paramcd = c("SLDINV"),
  seed = NULL,
  cached = FALSE,
  ...
)

Arguments

adsl

(data.frame)
Subject-Level Analysis Dataset (ADSL).

param

(⁠character vector⁠)
Parameter values.

paramcd

(⁠character vector⁠)
Parameter code values.

seed

(numeric)
Seed to use for reproducible random number generation.

cached

boolean whether the cached ADTR data cadtr should be returned or new data should be generated. If set to TRUE then the other arguments to radtr will be ignored.

...

Additional arguments to be passed to radrs.

Details

One record per subject per parameter per analysis visit per analysis date.

Keys: STUDYID, USUBJID, PARAMCD, BASETYPE, AVISITN, DTYPE

Value

data.frame

Author(s)

tomlinsj, npaszty, Xuefeng Hou, dipietrc

Examples

adsl <- radsl(N = 10, seed = 1, study_duration = 2)

adtr <- radtr(adsl, seed = 2)
adtr

[Package random.cdisc.data version 0.3.15 Index]