Skip to content

Conversation

@yihui
Copy link
Collaborator

@yihui yihui commented Sep 6, 2024

Two more changes according to #461 (comment)

# If the method is COMBO, remove the column of "~HR at bound", and remove AHR from header
if (method == "combo" && "~hr at bound" %in% names(xy))
stop("'~hr at bound' can't be displayed!")

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since ~hr at bound can't possibly exist in xy, perhaps we can remove this check. It doesn't break any test.

@LittleBeannie I'm not sure if this is the right thing to do.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @yihui , yes, you are right that ~hr at bound does not exist in xy, because it is not part of the raw output from the MaxCombo test (see screenshot below).

Thanks for the confirmation!
image

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Okay, then I guess we don't really need the check here. Thanks for letting me know!

Copy link
Collaborator

@LittleBeannie LittleBeannie left a comment

Choose a reason for hiding this comment

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

Thank you, @yihui ! I will get it merged now.

@LittleBeannie LittleBeannie merged commit 6161b56 into Merck:main Sep 6, 2024
@yihui yihui deleted the summary-followup branch September 6, 2024 23:23
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.

2 participants