Skip to content

Commit

Permalink
Update an example of a disposition table to make it more realistic
Browse files Browse the repository at this point in the history
  • Loading branch information
fukuhiro2023 committed Dec 16, 2024
1 parent f25bfc2 commit 97ff9b1
Show file tree
Hide file tree
Showing 3 changed files with 130 additions and 70 deletions.
2 changes: 1 addition & 1 deletion vignettes/disposition.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ adsl[adsl[["EOSSTT"]] == "Discontinued", "DCSREAS"] <- sample(
# Create a variable EOTSTT1 indicating the end of treatment status part 1
adsl$EOTSTT1 <- ifelse(adsl$DISCONFL == "Y", "Discontinued", "Completed")
adsl$DCTREAS <- ifelse(adsl$EOTSTT1 == "Discontinued" & adsl$EOSSTT == "Discontinued", adsl$DCREASCD, NA)
adsl$DCTREAS <- ifelse(adsl$EOTSTT1 == "Discontinued", adsl$DCREASCD, NA)
head(adsl)
```

Expand Down
198 changes: 129 additions & 69 deletions vignettes/outtable/disposition.rtf

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

Binary file modified vignettes/pdf/disposition.pdf
Binary file not shown.

0 comments on commit 97ff9b1

Please sign in to comment.