Good fits summary statistics
gd_fts.Rd
This function summarizes minimum, maximum, and mean statistics for depth (mean_depth), distance from shore (d_shore), receiver count (count), receiver presence/absence (p_a), and the percentage of grid cells missing receivers for all of the good fits (g_fit).
Examples
# Apply gd_fts to list of grid resolutions
library(sporeg)
library(dplyr)
library(sf)
library(data.table)
load(system.file("extdata", "res.Rda", package = "sporeg"))
gd_fit_char <- lapply(res, gd_fts) %>%
data.table::rbindlist(., idcol = 'resolution') %>%
left_join(tibble(resolution = 1:4,
res_name = c("100km", "50km", "25km", "10km")),
by = "resolution") %>%
dplyr::mutate(res_name = ordered(res_name, levels = c("100km", "50km", "25km", "10km")))