as_tcclimate {treeclim}R 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


[Package treeclim version 2.0.7.1 Index]