Skip to content

Commit

Permalink
fix issue with corrected emergence graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderDevisscher committed Jun 10, 2020
1 parent c4b32d5 commit 58d45de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions R-scripts/all_species_dashboard.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ renderPlot({
if(nrow(df_key) > 0){
gam_occupancy_cor <- tryCatch(apply_gam(
df = df_key,
y_var = "c_ncells",
y_var = "ncells",
baseline_var = "c_ncells",
eval_years = max(df_key$year),
type_indicator = "occupancy",
verbose = TRUE,
Expand Down Expand Up @@ -590,7 +591,8 @@ renderPlot({
if(nrow(df_key) > 0){
gam_observations_cor <- tryCatch(apply_gam(
df = df_key,
y_var = "cobs",
y_var = "obs",
baseline_var = "cobs",
eval_years = max(df_key$year),
type_indicator = "observations",
verbose = TRUE,
Expand Down

0 comments on commit 58d45de

Please sign in to comment.