Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ importFrom(dplyr,pull)
importFrom(dplyr,rename)
importFrom(dplyr,rename_at)
importFrom(dplyr,rename_with)
importFrom(dplyr,row_number)
importFrom(dplyr,rowwise)
importFrom(dplyr,select)
importFrom(dplyr,starts_with)
Expand Down Expand Up @@ -143,7 +144,6 @@ importFrom(sf,st_crs)
importFrom(sf,st_distance)
importFrom(sf,st_drop_geometry)
importFrom(sf,st_geometry)
importFrom(sf,st_join)
importFrom(sf,st_nearest_feature)
importFrom(sf,st_polygon)
importFrom(sf,st_set_crs)
Expand Down
6 changes: 3 additions & 3 deletions R/splnr_plotting.R
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ splnr_plot_costOverlay <- function(soln,
gg <- ggplot2::ggplot() +
ggplot2::theme_bw(base_size = base_size) +
# Plot the selected solution units in black.
ggplot2::geom_sf(data = soln, fill = "black", colour = "black", size = 0.0001) +
ggplot2::geom_sf(data = soln, fill = "grey30", colour = "grey30", size = 0.0001) +
# Overlay the cost data on top of the selected units with transparency.
ggplot2::geom_sf(data = Cost, ggplot2::aes(fill = !!rlang::sym(costName)), alpha = 0.1, colour = NA, size = 0.0001) +
# Apply a gradient fill for the cost, with specified low and high colors.
Expand All @@ -658,8 +658,8 @@ splnr_plot_costOverlay <- function(soln,
),
oob = scales::squish, # Squish values outside the limits.
guide = ggplot2::guide_colourbar(
barwidth = ggplot2::unit(20, "lines"), # Twice the width of the climate colourbar (10 lines).
barheight = ggplot2::unit(6, "lines") # Twice the height of the climate colourbar (3 lines).
barwidth = ggplot2::unit(3, "lines"),
barheight = ggplot2::unit(10, "lines")
)
) +
# Set coordinate limits based on the bounding box of the cost data.
Expand Down
11 changes: 0 additions & 11 deletions man/splnr_arrangeFeatures.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/splnr_climate_featureApproach.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/splnr_climate_percentileApproach.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/splnr_climate_priorityAreaApproach.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions man/splnr_get_IUCNRedList.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/splnr_get_distCoast.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/splnr_get_gfw.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions man/splnr_gg_add.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions man/splnr_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion man/splnr_plot_circBplot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion man/splnr_plot_climData.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

110 changes: 66 additions & 44 deletions man/splnr_plot_climKernelDensity.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion man/splnr_plot_comparison.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading