radqlqc {random.cdisc.data}R Documentation

EORTC QLQ-C30 V3 Analysis Dataset (ADQLQC)

Description

[Stable]

Function for generating a random EORTC QLQ-C30 V3 Analysis Dataset for a given Subject-Level Analysis Dataset.

Usage

radqlqc(adsl, percent, number, seed = NULL, cached = FALSE)

Arguments

adsl

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

percent

(numeric)
Completion - Completed at least y percent of questions, 1 record per visit

number

(numeric)
Completion - Completed at least x question(s), 1 record per visit

seed

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

cached

boolean whether the cached ADQLQC data cadqlqc should be returned or new data should be generated. If set to TRUE then the other arguments to radqlqc will be ignored.

Details

Keys: STUDYID, USUBJID, PARCAT1N, PARAMCD, BASETYPE, AVISITN, ATPTN, ADTM, QSSEQ

Value

data.frame

Examples

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

adqlqc <- radqlqc(adsl, seed = 1, percent = 80, number = 2)
adqlqc

[Package random.cdisc.data version 0.3.15 Index]