From 671902c5c0b5842dd6658a007b7937e5a8b675d4 Mon Sep 17 00:00:00 2001 From: Robin Linacre Date: Tue, 5 Jun 2018 10:11:27 +0100 Subject: [PATCH] Update deflators.R --- R/deflators.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/deflators.R b/R/deflators.R index d88c028..986dca5 100644 --- a/R/deflators.R +++ b/R/deflators.R @@ -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 %>%