time_bp_to_index: Find the closest index to a given time in years BP

View source: R/time_bp_to_index.R

time_bp_to_indexR Documentation

Find the closest index to a given time in years BP

Description

Internal function

Usage

time_bp_to_index(time_bp, time_steps)

Arguments

time_bp

vector of times BP

time_steps

time steps for which reconstructions are available

Value

the indeces for the relevant time steps


EvolEcolGroup/pastclim documentation built on Nov. 6, 2023, 5:11 a.m.