lat_bins {palaeoverse} | R Documentation |
Generate latitudinal bins
Description
A function to generate latitudinal bins of a given size for a user-defined latitudinal range. If the desired size of the bins is not compatible with the defined latitudinal range, bin size can be updated to the nearest integer which is divisible into this range.
Usage
lat_bins(size = 10, max = 90, min = -90, fit = FALSE, plot = FALSE)
Arguments
size |
|
max |
|
min |
|
fit |
|
plot |
|
Value
A dataframe
of latitudinal bins of user-defined size.
Developer(s)
Lewis A. Jones
Reviewer(s)
Bethany Allen
Examples
# Generate 20 degrees latitudinal bins
bins <- lat_bins(size = 20)
# Generate latitudinal bins with closest fit to 13 degrees
bins <- lat_bins(size = 13, fit = TRUE)
# Generate latitudinal bins for defined latitudinal range
bins <- lat_bins(size = 10, max = 50, min = -50)