| s_countries | R Documentation |
Helper functions and constants for ADSL
s_countries
country_site_prob
s_armcds
s_armprobs
s_sex
s_sexprobs
s_race
s_raceprobs
rchisq_age(n)
s_strat1
s_strat2
s_bmrkr2
trtdtm_varnames
sample_trtdtmvars(
n,
study_duration = 2,
sys_dtm = as.numeric(strptime("20/2/2019 11:16:16.683", "%d/%m/%Y %H:%M:%OS")),
discons = floor(n * 0.3)
)
eos_varnames
s_discon
make_eosvars(.df, n = NROW(.df))
sample_siteid(.df, n, x, prob)
arm_varnames
sample_armcd(
n,
narms = 3,
armnms = c(`ARM A` = "A: Drug X", `ARM B` = "B: Placebo", `ARM C` = "C: Combination")
)
lup_dcreas
lup_dthother
dthvarclasses
dth_varnames
usubj_deps
usubj_vars
n |
numeric(1). Number of observations to generate. Ignored if |
study_duration |
numeric(1). Study duration in years. |
sys_dtm |
Internal Detail. |
discons |
numeric(1). Number of patients who should discontinue treatment early. |
.df |
data.frame. Partially generated data table to build upon |
x |
character. Values to sample from for site id. |
prob |
numeric. Probabilities to use when sampling from |
narms |
numeric(1). Number of arms |
armnms |
character. Vector of arm names |
An object of class character of length 10.
An object of class numeric of length 10.
An object of class character of length 3.
An object of class numeric of length 3.
An object of class character of length 4.
An object of class numeric of length 4.
An object of class character of length 8.
An object of class numeric of length 8.
An object of class character of length 3.
An object of class character of length 2.
An object of class character of length 3.
An object of class character of length 3.
An object of class character of length 4.
An object of class character of length 6.
An object of class character of length 4.
An object of class data.frame with 7 rows and 2 columns.
An object of class data.frame with 5 rows and 2 columns.
An object of class character of length 7.
An object of class character of length 7.
An object of class character of length 3.
An object of class character of length 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.