From cd4a01531432da813fb92aa7649d9f346cd08511 Mon Sep 17 00:00:00 2001 From: kellijohnson-NOAA Date: Thu, 19 May 2022 17:39:58 -0700 Subject: [PATCH] fix(sdm_i): Uses ind object --- sandbox/pcod_delta_gamma.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sandbox/pcod_delta_gamma.R b/sandbox/pcod_delta_gamma.R index 6f342eb..5e00a3a 100644 --- a/sandbox/pcod_delta_gamma.R +++ b/sandbox/pcod_delta_gamma.R @@ -107,8 +107,8 @@ ind <- get_index(p, bias_correct = FALSE, area = 4) # save(fit_sdmTMB, ind, file = here("doc/appendix-VAST/sdmTMB_out.Rdata")) -sdm_i$index <- "sdmTMB" -both_i <- bind_rows(sdm_i, vast_i) +ind$index <- "sdmTMB" +both_i <- bind_rows(ind, vast_i) g <- ggplot(both_i, aes(x = year, y = est, ymin = lwr, ymax = upr, colour = index, fill = index)) + geom_ribbon(alpha = 0.1, position = position_dodge(width = 0.04), lty = 3) +