time_bp_to_index {pastclim}R 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


[Package pastclim version 2.0.0 Index]