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
6a9167ab
Commit
6a9167ab
authored
May 15, 2019
by
Kevin Kunzmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected bug in recombination of imputed with known dead individuals
parent
3f53e219
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
imputation-report.Rmd
imputation-report.Rmd
+3
-2
No files found.
imputation-report.Rmd
View file @
6a9167ab
...
...
@@ -202,6 +202,7 @@ tbl_posteriors <- tibble(
```
```{r final-imputations}
# start by adding confirmed <= 180d deaths back in
tbl_final_imputations <- readr::read_csv(
sprintf('%s/tbl_gose_imputation.csv', config$datapath),
col_types = "cinncD"
...
...
@@ -220,7 +221,7 @@ tbl_final_imputations <- readr::read_csv(
) %>%
mutate(
probability = ifelse(
is.na(death_days),
is.na(death_days)
| (death_days > 180)
,
probability,
ifelse(gose != "gose_1_probability", 0.0, 1.0)
)
...
...
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