Skip to content

Commit

Permalink
#2523 clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rossfarrugia committed Nov 15, 2024
1 parent 2250a7f commit dde0ed4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions R/derive_var_joined_exist_flag.R
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@
#' filter_join = val == "0" & all(val.join %in% c("+", "++"))
#' )
#'
#' # Flag each dose which is lower than the previous dose per subject
#' # flag each dose which is lower than the previous dose per subject
#' ex <- tribble(
#' ~USUBJID, ~EXSTDTM, ~EXDOSE,
#' "1", "2024-01-01T08:00", 2,
Expand All @@ -435,8 +435,8 @@
#' )
#' )
#'
#' # derive definitive deterioration flag as any deterioration by
#' # parameter that is not followed by a non-deterioration
#' # derive definitive deterioration flag as any deterioration (CHGCAT1 = "Worsened")
#' # by parameter that is not followed by a non-deterioration
#' adqs <- tribble(
#' ~USUBJID, ~PARAMCD, ~ADY, ~CHGCAT1,
#' "1", "QS1", 10, "Improved",
Expand All @@ -456,7 +456,7 @@
#' join_vars = exprs(CHGCAT1),
#' join_type = "after",
#' order = exprs(ADY),
#' filter_join = CHGCAT1.join != "Worsened"
#' filter_join = CHGCAT1.join != "Worsened" # flags if followed by a non-deterioration
#' ) %>%
#' mutate(DDETERFL = if_else(CHGCAT1 == "Worsened" & is.na(NODDFL), "Y", NA_character_))
derive_var_joined_exist_flag <- function(dataset,
Expand Down
8 changes: 4 additions & 4 deletions man/derive_var_joined_exist_flag.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dde0ed4

Please sign in to comment.