Skip to content

Commit

Permalink
set correct cells for emergence
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Jun 25, 2020
1 parent aa33314 commit 3272bcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R-scripts/all_species_dashboard.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ renderPlot({
if(gam_occupancy == "error"){
alt_plot <- df_key %>%
ggplot(aes(x = year, y = ncells)) +
ggplot(aes(x = year, y = sac_ncells)) +
ylab("occupancy (km2)") +
geom_point(stat = "identity") +
annotate("text", x = max(df_key$year), y = max(df_key$ncells), label = paste0("The emergence status of \n", input$species, " \n cannot be assessed."),vjust = "inward", hjust = "inward", colour = "red")
Expand All @@ -731,7 +731,7 @@ renderPlot({
if(gam_occupancy == "empty"){
alt_plot_2 <- df_key %>%
ggplot(aes(x = year, y = ncells)) +
ggplot(aes(x = year, y = sac_ncells)) +
ylab("occupancy (km2)") +
geom_point(stat = "identity") +
annotate("text", x = maxjaar, y = 1, label = paste0(input$species, " \n is not yet present \n in Belgium"),vjust = "inward", hjust = "inward", colour = "red")
Expand Down

0 comments on commit 3272bcb

Please sign in to comment.