Skip to content

Commit

Permalink
changed order of fig 2
Browse files Browse the repository at this point in the history
  • Loading branch information
n-a-gilbert committed Nov 22, 2023
1 parent 0f8a066 commit 01afe1e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions figures/code_for_figures/figure_02.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,15 @@ rb_label <- ic_clean |>
dplyr::arrange(param) |>
tibble::add_column( y = c(3379.6, 1940.4, 2088.1, 1539.3, 214349.1, 411098.8),
diff = c(1.62511451524311, 0.482292718683334, 0.571734517221783, 0.745914880139566,
11.997, 11.9998))

11.997, 11.9998)) |>
dplyr::mutate(param = factor(param,
levels = c(
"Detection intercept (distance sampling)",
"Detection intercept (counts)",
"Abundance intercept",
"Abundance covariate coefficient",
"Abundance (distance sampling)",
"Abundance (counts)")))
ic_clean |>
dplyr::filter(param %in% c(
"alpha0",
Expand All @@ -54,10 +61,10 @@ ic_clean |>
"Abundance (counts)")))))) |>
dplyr::mutate(param = factor(param,
levels = c(
"Abundance intercept",
"Abundance covariate coefficient",
"Detection intercept (distance sampling)",
"Detection intercept (counts)",
"Abundance intercept",
"Abundance covariate coefficient",
"Abundance (distance sampling)",
"Abundance (counts)"))) |>
# filter(abs(diff) < 20) |>
Expand Down Expand Up @@ -108,4 +115,4 @@ ggplot2::ggsave(
height = 6,
units = "in",
dpi = 300
)
)
Binary file modified figures/figure_02.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 01afe1e

Please sign in to comment.