Skip to content

Commit

Permalink
Update deflators.R
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinL committed Jun 5, 2018
1 parent 65802e0 commit 671902c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/deflators.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ add_greenbook_discount <- function(gdp_deflator_df,green_book_discount_rate = 0.
gbr <- green_book_discount_rate + 1

gdp_deflator_df <- gdp_deflator_df %>%
dplyr::mutate(n = row_number()) %>%
dplyr::mutate(n = dplyr::row_number()) %>%
dplyr::mutate(green_book_discount = (gbr^(1/365.25))^(n))

rebase <- (gdp_deflator_df %>%
Expand Down

0 comments on commit 671902c

Please sign in to comment.