daily_indices {climates} | R Documentation |
daily_indices
implements a suite of basic climate indices based on
daily records It is written to run one year of data at a time for
scalability to large gridded domains.
daily_indices(tmin = NULL, tmax = NULL, prec = NULL, tmean = NULL, thresholds = NULL, time_PCICt = NULL)
tmin |
a data.frame or matrix with greater than 359 and less than 367 columns representing daily minimum temperature data; rows represent different locations. |
tmax |
a data.frame or matrix as with |
prec |
a data.frame or matrix as with |
tmean |
a data.frame or matrix as with |
thresholds |
A named list with the following structure: |
time_PCICt |
The time vector cooresponding to the data.frames or matrices in PCICt format. |
a matrix with columns representing variables requested and the
number of rows(and order of them) the same as the input tmin
,
tmax
, prec
or tmean
.
David Blodgett dblodgett@usgs.gov
## Not run: data(daily_indices_example, package='climates') output<-daily_indices(tmin=tmin_data, tmax=tmax_data, prec=prcp_data, tmean=tave_data, thresholds,time_PCICt) ## End(Not run)