Skip to contents

Select samples by age criteria

Usage

select_samples_by_age(
  con = NULL,
  age_lim = c(-Inf, Inf),
  sel_dataset_type = c("vegetation_plot", "fossil_pollen_archive", "gridpoints"),
  verbose = TRUE
)

Arguments

con

A connection object created by open_vault()

age_lim

A numeric vector of length 2. The minimum and maximum age of the samples to be selected.

sel_dataset_type

(optional) A character vector specifying the dataset types to filter

verbose

A logical value specifying whether to print messages

Value

A class of vault_pipe

Details

There is an option to filter only specific dataset types (as some dataset types may not have age information). To do this, use the sel_dataset_type argument.