Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GOSe-6mo-imputation
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Kevin Kunzmann
GOSe-6mo-imputation
Commits
27a42723
Commit
27a42723
authored
May 16, 2019
by
Kevin Kunzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed issue with death in per protocol gose
parent
6a9167ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
imputation-report.Rmd
imputation-report.Rmd
+4
-4
No files found.
imputation-report.Rmd
View file @
27a42723
...
@@ -274,14 +274,14 @@ tbl_final_imputations <- readr::read_csv(
...
@@ -274,14 +274,14 @@ tbl_final_imputations <- readr::read_csv(
by = "gupi"
by = "gupi"
) %>%
) %>%
mutate(
mutate(
# gose_map_imputed is only 1 when we know that the individual died before
# 6 months, i.e. in these cases the per-protocol gose shoul also be 1
gose_per_protocol = ifelse(gose_map_imputed == "1", "1", gose_per_protocol),
gose_map_per_protocol_combined = ifelse(
gose_map_per_protocol_combined = ifelse(
is.na(gose_per_protocol),
is.na(gose_per_protocol),
gose_map_imputed,
gose_map_imputed,
gose_per_protocol
gose_per_protocol
),
)
# gose_map_imputed is only 1 when we know that the individual died before
# 6 months, i.e. in these cases the per-protocol gose shoul also be 1
gose_per_protocol = ifelse(gose_map_imputed == "1", "1", gose_per_protocol)
) %>%
) %>%
# reorder
# reorder
select(
select(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment