prepare_data: Subsets the dataset according to the climatic variable and...

Description Usage Arguments Value

Description

prepare_data subsets the dataset according to the specified conditions.

Usage

1
2
prepare_data(data, temperature = FALSE, precipitation = FALSE,
  phenology = FALSE, morphology = FALSE)

Arguments

data

A dataframe containing per each study the time series of relevant variables (i.e. yearly climate values, yearly trait values or yearly selection differentials) to be analyzed.

temperature

A boolean indicating if the temperature data should be extracted (default is FALSE).

precipitation

A boolean indicating if the precipitation data should be extracted (default is FALSE).

phenology

A boolean indicating if the phenological data should be extracted (default is FALSE).

morphology

A boolean indicating if the morphological data should be extracted (default is FALSE).

Value

A dataframe that is a subset of the dataframe supplied via the argument 'data'. This dataframe is subset according to the specified requirements.


radchukv/adRes documentation built on June 1, 2019, 7:05 p.m.