Skip to content

Commit

Permalink
Unquote dataframe col names on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikunterwegs committed Sep 15, 2023
1 parent 068a7be commit 4668a31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/estimate_severity.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ estimate_severity <- function(total_cases,
severity_lims <- range(pprange[lik >= (max(lik) - 1.92)])

severity_estimate <- data.frame(
"severity_mean" = severity_mean,
"severity_low" = severity_lims[[1]],
"severity_high" = severity_lims[[2]]
severity_mean = severity_mean,
severity_low = severity_lims[[1]],
severity_high = severity_lims[[2]]
)

# returning vector with corrected estimates
Expand Down
6 changes: 3 additions & 3 deletions R/estimate_static.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,9 @@ estimate_static <- function(data,
severity_lims <- severity_conf$conf.int

severity_estimate <- data.frame(
"severity_mean" = severity_mean,
"severity_low" = severity_lims[[1]],
"severity_high" = severity_lims[[2]]
severity_mean = severity_mean,
severity_low = severity_lims[[1]],
severity_high = severity_lims[[2]]
)
}

Expand Down

0 comments on commit 4668a31

Please sign in to comment.