lat_bins_area {palaeoverse} | R Documentation |
Generate equal-area latitudinal bins
Description
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.
Usage
lat_bins_area(n = 12, min = -90, max = 90, r = 6371, plot = FALSE)
Arguments
n |
|
min |
|
max |
|
r |
|
plot |
|
Value
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).
Developer(s)
Lewis A. Jones & Kilian Eichenseer
Reviewer(s)
Kilian Eichenseer & Bethany Allen
See Also
For bins with unequal area, but equal latitudinal range, see lat_bins_degrees.
Examples
# 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)