event | R Documentation |
event
ObjectThe event
object is used to define events as input for the
derive_extreme_event()
and derive_vars_extreme_event()
functions.
event(
dataset_name = NULL,
condition = NULL,
mode = NULL,
order = NULL,
set_values_to = NULL,
keep_source_vars = NULL,
description = NULL
)
dataset_name |
Dataset name of the dataset to be used as input for the
event. The name refers to the dataset specified for
|
condition |
An unquoted condition for selecting the observations, which
will contribute to the extreme event. If the condition contains summary
functions like
|
mode |
If specified, the first or last observation with respect to
|
order |
The specified variables or expressions are used to select the
first or last observation if For handling of
|
set_values_to |
A named list returned by
|
keep_source_vars |
Variables to keep from the source dataset The specified variables are kept for the selected observations. The
variables specified for
|
description |
Description of the event The description does not affect the derivations where the event is used. It is intended for documentation only.
|
An object of class event
derive_extreme_event()
, derive_vars_extreme_event()
, event_joined()
Source Objects:
basket_select()
,
censor_source()
,
death_event
,
event_joined()
,
event_source()
,
flag_event()
,
query()
,
records_source()
,
tte_source()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.