Skip to content

Update template@476 harmonize templates #499

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

Merged

Conversation

BFalquet
Copy link
Contributor

update rmpt01 and vst01

@BFalquet BFalquet requested a review from clarkliming May 10, 2023 09:24
Comment on lines +164 to +167
export(lbt14)
export(lbt14_main)
export(lbt14_post)
export(lbt14_pre)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Undeniably it looks better

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if possible, I even don't want to export these main, pre and post. but for arguments we need them

@clarkliming
Copy link
Contributor

clarkliming commented May 12, 2023

@BFalquet I will work on cmt02_pt, dst01, dtht01 in #496

benoit added 2 commits May 12, 2023 10:25
Comment on lines +53 to +54
checkmate::assert_choice(pval_method, c("log-rank", "wald", "likelihood"))
checkmate::assert_choice(ties, c("efron", "breslow", "exact"))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about make them part of the ... ? and control_coxph can take the check of arguments

R/kmg01.R Outdated
@@ -39,21 +40,33 @@ kmg01_1_main <- function(adam_db,
position_surv_med = c(0.9, 0.9),
line_col = as.list(nestcolor::color_palette()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

line_col can be named or unnamed; but it is not used. I think it could be make into ... and pass to g_ef_km

@clarkliming
Copy link
Contributor

clarkliming commented May 15, 2023

hi @BFalquet please note that EGT02 already has variants in the standard (egt02_1, egt02_2)

@BFalquet
Copy link
Contributor Author

BFalquet commented May 15, 2023

hi @BFalquet please note that EGT02 already has variants in standard (egt02_1, egt02_2)

If this is not a test, this is a particularly regrettable usage of the variants numbering, the only difference between the two is whether one parameter is true or false.

@clarkliming
Copy link
Contributor

clarkliming commented May 15, 2023

hi @BFalquet please note that EGT02 already has variants (egt02_1, egt02_2)

If this is not a test, this is a particularly regrettable usage of the variants numbering, the only difference between the two is whether one parameter is true or false.

also vst02 already has variant called vst02_1 and vst02_2; we can follow standards. I think it is not some test but long-standing template

@BFalquet BFalquet merged commit c91a5fc into 476_harmonize_templates@main May 15, 2023
@BFalquet BFalquet deleted the update_template@476_harmonize_templates branch May 15, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants