Skip to content

Commit

Permalink
Update CV analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-rohan-NOAA committed Sep 17, 2024
1 parent 8b5f340 commit 2e43507
Show file tree
Hide file tree
Showing 18 changed files with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions analysis/esr_safe_cv/esr_index_cvs.R
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,11 @@ plot_autocorrelation_subarea_complex <- ggplot() +
mapping = aes(y = SPECIES_CODE,
x = AREA_NAME,
fill = cut(acf_lag1, breaks = c(-1, -0.8, -0.6, -0.4, -0.2, 0.2, 0.4, 0.6, 0.8, 1)))) +
scale_fill_brewer("Autocorrelation\n(lag 1 survey)", palette = "RdBu", drop = FALSE, na.translate = FALSE) +
scale_fill_brewer("Autocorrelation\n(lag 1 survey)",
palette = "RdBu",#,
# drop = FALSE,
na.translate = FALSE
) +
facet_wrap(~SURVEY, scales = "free", nrow = 3) +
scale_x_discrete(expand = c(0,0)) +
scale_y_discrete(expand = c(0,0)) +
Expand All @@ -571,7 +575,10 @@ plot_autocorrelation_subarea_species <- ggplot() +
mapping = aes(y = SPECIES_CODE,
x = AREA_NAME,
fill = cut(acf_lag1, breaks = c(-1, -0.8, -0.6, -0.4, -0.2, 0.2, 0.4, 0.6, 0.8, 1)))) +
scale_fill_brewer("Autocorrelation\n(lag 1 survey)", palette = "RdBu", drop = FALSE, na.translate = FALSE) +
scale_fill_brewer("Autocorrelation\n(lag 1 survey)",
palette = "RdBu",
# drop = FALSE,
na.translate = FALSE) +
facet_wrap(~SURVEY, scales = "free", nrow = 3) +
scale_x_discrete(expand = c(0,0)) +
scale_y_discrete(expand = c(0,0)) +
Expand All @@ -587,7 +594,10 @@ plot_autocorrelation_region <- ggplot() +
mapping = aes(x = SPECIES_CODE,
y = SURVEY,
fill = cut(acf_lag1, breaks = c(-1, -0.8, -0.6, -0.4, -0.2, 0.2, 0.4, 0.6, 0.8, 1)))) +
scale_fill_brewer("Autocorrelation\n(lag 1 survey)", palette = "RdBu", drop = FALSE, na.translate = FALSE) +
scale_fill_brewer("Autocorrelation\n(lag 1 survey)",
palette = "RdBu",
# drop = FALSE,
na.translate = FALSE) +
scale_x_discrete(expand = c(0,0)) +
scale_y_discrete(expand = c(0,0)) +
facet_wrap(~complex,
Expand Down
Binary file modified plots/cvs/esr_cv_ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_cv_by_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_cv_ebs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_cv_goa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_autocorrelation_complex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_autocorrelation_subarea_complex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_autocorrelation_subarea_species.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_complex_cv_ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_complex_cv_by_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_complex_cv_ebs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_complex_cv_goa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_species_cv_ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_species_cv_by_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_species_cv_ebs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/esr_safe_species_cv_goa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/safe_complex_cv_by_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified plots/cvs/safe_species_cv_by_region.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2e43507

Please sign in to comment.