-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Reorder doc pages so analyze functions appear first, add links in README #1131
Conversation
Code Coverage Summary
Diff against main
Results for commit: 71b5911 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
- See a list of all available analyze functions [here](https://insightsengineering.github.io/tern/reference/analyze_functions.html) | ||
- See a list of all available summarize functions [here](https://insightsengineering.github.io/tern/reference/summarize_functions.html) | ||
- See a list of all available column-wise analysis functions [here](https://insightsengineering.github.io/tern/reference/analyze_colvars_functions.html) |
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.
Thanks for this. It was really needed!
#' df <- extract_survival_biomarkers( | ||
#' variables = list( | ||
#' tte = "AVAL", | ||
#' is_event = "is_event", | ||
#' biomarkers = c("BMRKR1", "AGE"), | ||
#' strata = "STRATA1", | ||
#' covariates = "SEX", | ||
#' subgroups = "BMRKR2" | ||
#' ), | ||
#' data = adtte_f | ||
#' ) | ||
#' df | ||
#' | ||
#' @name survival_biomarkers_subgroups | ||
NULL |
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.
the examples were repeated right?
#' @examples | ||
#' library(dplyr) | ||
#' library(forcats) | ||
#' | ||
#' adtte <- tern_ex_adtte | ||
#' adtte_labels <- formatters::var_labels(adtte) | ||
#' | ||
#' adtte_f <- adtte %>% | ||
#' filter( | ||
#' PARAMCD == "OS", |
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.
this pre-proc was too repeated right?
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.
Yes - I didn’t outright remove any examples or pre-processing unless it was duplicated on the page
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.
Amazing job Emily!! Thanks so much for polishing and consolidating examples too. I think it will feel much fresher now. Also having the main {rtables}/user-facing function top is much better now. Do you think we should also add a seealso for the lists of analysis functions?
Good to go anyway ;)
I don't think it's necessary to link to all the other analyze functions since most of them are not closely related - any that are can be linked via |
Pull Request
Part of #1130
I'm separating this issue into multiple PRs so nothing gets mixed up.