Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
included the new argument - `join_type` in derive_vars_joined
  • Loading branch information
arjoon-r committed Nov 30, 2023
1 parent c0639d1 commit c4214d9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vignettes/adface.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ adface <- derive_vars_joined(
dataset_add = period_ref,
by_vars = exprs(STUDYID, USUBJID),
filter_join = ADT >= APERSDT & ADT <= APEREDT,
join_type = "after"
join_type = "all"
)
```

Expand Down Expand Up @@ -334,7 +334,7 @@ In this step, we will derive maximum records for severity, diameter, temperature
adface <- derive_extreme_records(
dataset = adface,
dataset_add = adface,
filter = FATESTCD == "SEV",
filter_add = FATESTCD == "SEV",
by_vars = exprs(USUBJID, FAOBJ, ATPTREF),
order = exprs(AVAL),
check_type = "none",
Expand All @@ -348,7 +348,7 @@ adface <- derive_extreme_records(
adface <- derive_extreme_records(
dataset = adface,
dataset_add = adface,
filter = FAOBJ %in% c("REDNESS", "SWELLING") & FATESTCD == "DIAMETER",
filter_add = FAOBJ %in% c("REDNESS", "SWELLING") & FATESTCD == "DIAMETER",
by_vars = exprs(USUBJID, FAOBJ, FALNKGRP),
order = exprs(AVAL),
check_type = "none",
Expand All @@ -361,6 +361,7 @@ 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),
Expand Down

0 comments on commit c4214d9

Please sign in to comment.