as_tcclimate: Create the correct data format for variable selection

View source: R/as_tcclimate.R

as_tcclimateR Documentation

Create the correct data format for variable selection

Description

Check the climate data that is either supplied as a matrix, a data.frame, or a list of data.frames. Reformat the data for further usage into the internal format.

Usage

as_tcclimate(x, varnames = NULL)

Arguments

x

the supplied climate data

varnames

optionally supplied variable names

Value

a data.frame with years in rows and monthly observations in columns


treeclim documentation built on March 18, 2022, 7:22 p.m.