Skip to content

Commit

Permalink
Merge pull request #191 from OHI-Science/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
Melsteroni authored Nov 28, 2018
2 parents 31400aa + cdedde1 commit 8c060a4
Show file tree
Hide file tree
Showing 4 changed files with 383 additions and 269 deletions.
1 change: 1 addition & 0 deletions R/CalculateTrend.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ CalculateTrend <- function(status_data, trend_years=trend_years){
status_data <- status_data %>%
dplyr::select(region_id, year, status) %>%
dplyr::filter(year %in% trend_years) %>%
dplyr::filter(!is.na(status)) %>%
unique()

adj_trend_year <- min(trend_years)
Expand Down
Loading

0 comments on commit 8c060a4

Please sign in to comment.