Skip to content

Commit

Permalink
Need to update collect_title() function as it is not taking title 1 a…
Browse files Browse the repository at this point in the history
…s "Summary of Treatment Compliance" from meta plan.

Also I noticed that if I subset adex dataset to exclude NA records while merging with ADSL then step :
tbl <- outdata |> format_trt_compliance()
head(tbl$tbl)
throws following error:Error in `[.data.frame`(within_tbl, , c(1, do.call(c, lapply(2:(1 + n_group +  : 
  undefined columns selected
4.
stop("undefined columns selected")
3.
`[.data.frame`(within_tbl, , c(1, do.call(c, lapply(2:(1 + n_group +
ifelse("total" %in% display_col, 1, 0)), function(x) {
c(x, x + n_group + ifelse("total" %in% display_col, 1, 0) +
1) ... at format_base_char.R#105
2.
within_tbl[, c(1, do.call(c, lapply(2:(1 + n_group + ifelse("total" %in%
display_col, 1, 0)), function(x) {
c(x, x + n_group + ifelse("total" %in% display_col, 1, 0) +
1) ... at format_base_char.R#105
1.
format_trt_compliance(outdata)
. Currently adsl has all records for 254 subjects though 2 subjects has NA in ADEX and these records are presented as "Missing" in final output.
  • Loading branch information
jeetendersinghc committed Jun 28, 2024
1 parent 993a42c commit 27186d3
Show file tree
Hide file tree
Showing 5 changed files with 819 additions and 0 deletions.
Binary file added vignettes/outtable/pdf/treatment0compliance.pdf
Binary file not shown.
Binary file added vignettes/outtable/pdf/treatment0compliance1.pdf
Binary file not shown.
249 changes: 249 additions & 0 deletions vignettes/outtable/treatment0compliance.rtf

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

Loading

0 comments on commit 27186d3

Please sign in to comment.