Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huizezhang-sherry committed Jun 16, 2023
1 parent 9228828 commit 6b3f958
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vignettes/cb5match.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ res_tm_long <- res_tm %>%
face_temporal() %>%
unfold(group, type) %>%
group_by(group, type) %>%
mutate(matched = (matched - min(matched, na.rm = TRUE))/ (max(matched, na.rm = TRUE) - min(matched, na.rm = TRUE)))
mutate(matched = (matched - min(matched, na.rm = TRUE))/
(max(matched, na.rm = TRUE) - min(matched, na.rm = TRUE)))
vic_map <- ozmaps::abs_ste |>
filter(NAME == "Victoria")
Expand All @@ -127,7 +128,7 @@ p1 <-ggplot() +
data = res_tm %>% filter(type == "climate") %>% as_tibble(),
aes(x = long, y = lat, label = group)) +
scale_color_brewer(palette = "Dark2") +
ggthemes::theme_map() +
theme_void() +
ggplot2::theme(legend.position = "bottom") +
ggplot2::labs(x = "Longitude", y = "Latitude")
Expand Down

0 comments on commit 6b3f958

Please sign in to comment.