add_filter | R Documentation |
Add a new filter definition or overwrite an existing one
add_filter(
id,
title,
target,
condition,
character_only = FALSE,
overwrite = FALSE
)
id |
|
title |
|
target |
|
condition |
The filter condition |
character_only |
|
overwrite |
|
The function returns a list
of title
, target
and condition
invisibly
Thomas Neitmann (neitmant
)
add_filter(
id = "CTC5",
title = "Grade 5 Adverse Event",
target = "ADAE",
condition = AETOXGR == "5"
)
add_filter(
id = "CTC4",
title = "Grade 4 Adverse Event",
target = "ADAE",
condition = "AETOXGR == '4'",
character_only = TRUE
)
add_filter(
id = "IT",
title = "ITT Population",
target = "ADSL",
condition = ITTFL == "Y",
overwrite = TRUE
)
add_filter(
id = "5PER",
title = "Adverse Events with a Difference of at Least 5% between Treatment Arms",
target = "adae",
condition = 1 == 1,
overwrite = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.