-
-
Notifications
You must be signed in to change notification settings - Fork 2
Add add_difference_row.tbl_survfit_times for survival difference rows
#132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Unit Tests Summary 1 files 69 suites 1m 32s ⏱️ Results for commit a614153. ♻️ This comment has been updated with latest results. |
Unit Test Performance Difference
Additional test case details
Results for commit c87b773 ♻️ This comment has been updated with latest results. |
Code Coverage SummaryDiff against mainResults for commit: a614153 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
| dplyr::mutate( | ||
| # add default labels | ||
| label = dplyr::case_when( | ||
| .data$label == "Survival Difference" ~ "Difference in Event Free Rates", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be "Difference in Event Free Rate"? The GDSR has it with "Rates" but TLG catalog and STREAM with "Rate".
ddsjoberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for putting this together!
I think we'll need to write it a bit more generally because while the survival differences are important to report, we'll also need to report items like hazards ratios, right? Let's meet to discuss our reporting needs.
|
This is great, thank you. At the moment this is hyper focussed to create the table from the spec. I wonder if there would be value in adding a |
What changes are proposed in this pull request?
add_difference_row.tbl_survfit_timesto add survival difference rows to survival time summary tables. (Add function to add difference statistics totbl_survfit_times()tables #131)Also:
statisticformats fortbl_survfit_times()to align with catalog standard.skip_if_pkg_not_installed()in tests.Closes #131
Pre-review Checklist (if item does not apply, mark is as complete)
usethis::pr_merge_main()devtools::test_coverage()Reviewer Checklist (if item does not apply, mark is as complete)
pkgdown::build_site(). Check the R console for errors, and review the rendered website.devtools::test_coverage()When the branch is ready to be merged:
NEWS.mdwith the changes from this pull request under the heading "# cards (development version)". If there is an issue associated with the pull request, reference it in parentheses at the end update (seeNEWS.mdfor examples).