-adface <- derive_extreme_records(
+adface <- derive_extreme_records(
dataset = adface,
+ dataset_add = adface,
filter_add = FATESTCD == "SEV",
- by_vars = exprs(USUBJID, FAOBJ, ATPTREF),
- order = exprs(AVAL),
+ by_vars = exprs(USUBJID, FAOBJ, ATPTREF),
+ order = exprs(AVAL),
check_type = "none",
mode = "last",
- set_values_to = exprs(
+ set_values_to = exprs(
FATEST = "Maximum Severity",
FATESTCD = "MAXSEV"
)
)
-adface <- derive_extreme_records(
+adface <- derive_extreme_records(
dataset = adface,
+ dataset_add = adface,
filter_add = FAOBJ %in% c("REDNESS", "SWELLING") & FATESTCD == "DIAMETER",
- by_vars = exprs(USUBJID, FAOBJ, FALNKGRP),
- order = exprs(AVAL),
+ by_vars = exprs(USUBJID, FAOBJ, FALNKGRP),
+ order = exprs(AVAL),
check_type = "none",
mode = "last",
- set_values_to = exprs(
+ set_values_to = exprs(
FATEST = "Maximum Diameter",
FATESTCD = "MAXDIAM"
)
)
-adface <- derive_extreme_records(
+adface <- derive_extreme_records(
dataset = adface,
+ dataset_add = adface,
filter_add = FAOBJ == "FEVER",
- by_vars = exprs(USUBJID, FAOBJ, ATPTREF),
- order = exprs(VSSTRESN),
+ by_vars = exprs(USUBJID, FAOBJ, ATPTREF),
+ order = exprs(VSSTRESN),
check_type = "none",
mode = "last",
- set_values_to = exprs(
+ set_values_to = exprs(
FATEST = "Maximum Temperature",
FATESTCD = "MAXTEMP"
)
)
-