Skip to content

Commit

Permalink
Update utils.R
Browse files Browse the repository at this point in the history
  • Loading branch information
clairedavies committed Nov 15, 2023
1 parent af5a308 commit 234baac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Expand Up @@ -584,7 +584,7 @@ pr_get_Coeffs <- function(df){
dplyr::filter(.data$StationName == stations)
}

m <- stats::lm(Values ~ Year_Local + pr_harmonic(Month_Local, k = 1), data = lmdat)
m <- stats::lm(Values ~ Year_Local + pr_harmonic(Month, k = 1), data = lmdat)

lmdat <- tibble::tibble(lmdat %>%
dplyr::bind_cols(fv = m$fitted.values))
Expand Down

0 comments on commit 234baac

Please sign in to comment.