View source: R/derive_param_tte.R
| censor_source | R Documentation |
censor_source Objectcensor_source objects are used to define censorings as input for the
derive_param_tte() function.
Note: This is a wrapper function for the more generic tte_source().
censor_source(
dataset_name,
filter = NULL,
date,
censor = 1,
set_values_to = NULL,
order = NULL
)
dataset_name |
The name of the source dataset The name refers to the dataset provided by the
|
filter |
An unquoted condition for selecting the observations from
|
date |
A variable or expression providing the date of the event or censoring. A date, or a datetime can be specified. An unquoted symbol or expression is expected. Refer to
|
censor |
Censoring value CDISC strongly recommends using
|
set_values_to |
A named list returned by
|
order |
Sort order An optional named list returned by
|
An object of class censor_source, inheriting from class tte_source
derive_param_tte(), event_source()
Source Objects:
basket_select(),
death_event,
event(),
event_joined(),
event_source(),
flag_event(),
query(),
records_source(),
tte_source()
# Last study date known alive censor
censor_source(
dataset_name = "adsl",
date = LSTALVDT,
set_values_to = exprs(
EVNTDESC = "ALIVE",
SRCDOM = "ADSL",
SRCVAR = "LSTALVDT"
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.