lat_bins_area {palaeoverse} | R Documentation |
A function to generate approximately equal-area latitudinal bins for a user-specified number of bins and latitudinal range. This approach is based on calculating the curved surface area of spherical segments bounded by two parallel discs.
lat_bins_area(n = 12, min = -90, max = 90, r = 6371, plot = FALSE)
n |
|
min |
|
max |
|
r |
|
plot |
|
A data.frame
of user-defined number of latitudinal bins. The
data.frame
contains the following columns: bin (bin number), min
(minimum latitude of the bin), mid (midpoint latitude of the bin),
max (maximum latitude of the bin), area (the area of the bin in
km2), area_prop (the
proportional area of the bin across all bins).
Lewis A. Jones & Kilian Eichenseer
Kilian Eichenseer & Bethany Allen
For bins with unequal area, but equal latitudinal range, see lat_bins_degrees.
# Generate 12 latitudinal bins
bins <- lat_bins_area(n = 12)
# Generate latitudinal bins for just the (sub-)tropics
bins <- lat_bins_area(n = 6, min = -30, max = 30)
# Generate latitudinal bins and a plot
bins <- lat_bins_area(n = 24, plot = TRUE)