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 Permitted Values: a character scalar |
condition |
An unquoted condition for selecting the observations, which
will contribute to the extreme event. If the condition contains summary
functions like Permitted Values: an unquoted condition |
mode |
If specified, the first or last observation with respect to Permitted Values: |
order |
The specified variables or expressions are used to select the
first or last observation if For handling of Permitted Values: list of expressions created by |
set_values_to |
A named list returned by Permitted Values: a named list of expressions, e.g., created by |
keep_source_vars |
Variables to keep from the source dataset The specified variables are kept for the selected observations. The
variables specified for Permitted Values: A list of expressions where each element is
a symbol or a tidyselect expression, e.g., |
description |
Description of the event The description does not affect the derivations where the event is used. It is intended for documentation only. Permitted Values: a character scalar |
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.