adaette_helpers: ADAETTE recipe helper constants and functions

adaette_fdepsR Documentation

ADAETTE recipe helper constants and functions

Description

ADAETTE recipe helper constants and functions

Usage

adaette_fdeps

adaette_sjvars

adaette_paramcds

fullcensor(usubjid, aereptte, adtm, ady)

adaette_one_pat(pat_info, s_dur_secs = pat_info$study_duration_secs)

adaette_sjf(.db, lookup = adaette_paramcds)

evntdescr_sel

cnsdtdscr_sel

adaette_cnsrdtdsc(n, .df, evnt_sel = evntdescr_sel, cns_sel = cnsdtdscr_sel)

Arguments

usubjid

character(1). USUBJID

aereptte

numeric(1). Time to end of AE reporting in years.

adtm

POSIXct(1). Analysis datetime

ady

numeric(1). Relative day number of analysis time

pat_info

data.frame. ADAE data for a single subjid

s_dur_secs

numeric(1). Total study duration in seconds

.db

list. Named list of data.frames for use in function when scaffolding

lookup

data.frame. Table of lookup values specific to the function at hand.

n

numeric(1). Number of observations to generate. Ignored if .df is specified

.df

data.frame. Partially generated data table to build upon

evnt_sel

character. Event descriptions to sample from.

cns_sel

character. Reasons for censoring to sample from.

Format

An object of class character of length 5.

An object of class character of length 5.

An object of class tbl_df (inherits from tbl, data.frame) with 7 rows and 3 columns.

An object of class character of length 5.

An object of class character of length 4.


Roche/synthetic.cdisc.data documentation built on July 13, 2022, 10:34 p.m.