-
Notifications
You must be signed in to change notification settings - Fork 8
Follow-up to PR 427 (return sample size from pw_info())
#429
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
Conversation
|
I also added the new NSE variables in |
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, @jdblischak ! Nice to learn the left join of data.table can be realized by merge.
I did a minor commit by ordering the column n and event together, since they are usually reported jointly.
@LittleBeannie A quick follow-up. I realized that |
Hi @jdblischak , there should NOT be a case where there will be values in |
I feel like we might still not be 100% on the same page. The default behavior of If all the records of Here is a quick demo to highlight the difference between inner and left joins: library("dplyr")
x <- data.frame(key = rep(1:3, times = 3), x = rnorm(9))
y <- data.frame(key = 1:3, y = letters[1:3])
# Inner and left joins are equivalent when all records in x have a match in y
identical(inner_join(x, y), left_join(x, y))
## [1] TRUE
# Inner and left joins differ when record(s) in x are missing from y
x <- rbind(data.frame(key = 4, x = rnorm(1)), x)
identical(inner_join(x, y), left_join(x, y))
## [1] FALSEThanks for the clear explanation. I double checked with |
This is a follow-up to #427:
twas the first column). I wasn't sure if this mattered, but just in case, I enforced the identical column orderpw_info(). Since the column returned ishrand notahr, I also removed "average" from its description. Please let me know if I should add it back. Also, if someone can provide brief descriptions of the columnsstratumandt, I could also add thesepw_info()to follow the naming convention (https://github.com/Merck/gsDesign2/pull/427/files#r1653206548)