Skip to contents

Each site-bin covers the time slices from SLICE_MIN to SLICE_MAX; the result has one row per record and slice, ready to receive model predictions under each slice's climate for temporal_validation().

Usage

site_bin_slices(site_bins)

Arguments

site_bins

Output of fossil_site_bins().

Value

A data.frame with record, slice, lon, lat and period.

Examples

sb <- data.frame(RECORD = "s1_12000", LON = 11, LAT = 47, SLICE_MIN = -105,
                 SLICE_MAX = -102, PERIOD = "Lateglacial")
site_bin_slices(sb)
#>     record slice lon lat      period
#> 1 s1_12000  -105  11  47 Lateglacial
#> 2 s1_12000  -104  11  47 Lateglacial
#> 3 s1_12000  -103  11  47 Lateglacial
#> 4 s1_12000  -102  11  47 Lateglacial