-
Notifications
You must be signed in to change notification settings - Fork 1
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
update roxygen header of 3 r files with examples #38
Merged
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
776ebd4
update
hoppanda 1ea538a
Merge branch 'main' into 29-add-examples-to-functions
gravesti d695513
run roxygen
gravesti d02b3ef
partly fix docs
gravesti 6eaa7ca
[skip actions] Roxygen Man Pages Auto Update
dependabot-preview[bot] f4d6489
use data_raw
gravesti 1cdb73d
Merge remote-tracking branch 'origin/29-add-examples-to-functions' in…
gravesti fd8563c
remove broken example
gravesti fed5741
Update R/survival-helper.R
gravesti b7c7d8b
Merge remote-tracking branch 'origin/29-add-examples-to-functions' in…
gravesti 99bd576
remove broken
gravesti 3105954
line_col, merge, fomatting
gravesti f2ae7e5
delete all broken examples
gravesti 22957ed
docs
gravesti f2c6ead
Merge branch 'main' into 29-add-examples-to-functions
gravesti 62e2833
Merge f2c6ead690a120df9927ab5395aedc5f1608557d into 5895afd0e058b1d15…
hoppanda 972e762
[skip actions] Restyle files
github-actions[bot] 45c8412
worst lintr error
gravesti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@MikeJSeo Do you have the code to generate
agd.rda
? Could you add the code indata-raw/agd.R
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.
I think I just stored this data.frame manually:
agd <- data.frame(
STUDY = "Lung study",
ARM = "Total",
N = 300,
AGE_MEAN = 51,
AGE_MEDIAN = 49,
AGE_SD = 3.25,
SEX_MALE_PROP = 147/300,
ECOG0_PROP = 0.40,
ECOG0_COUNT = 40,
SMOKE_PROP = 58/(300-5),
N_PR_THER_MEDIAN = 2
)
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.
Do we even need agd.rda? Let's just do this?
target_pop <- read.csv(system.file("extdata","aggregate_data_example_1.csv", package = "maicplus", mustWork =
agd <- process_agd(target_pop)