dataclim
object
climdex.pcic::climdexInput
object from
a dataclim
object.
createClimdex(myDataclim, basePeriod)
dataclim
object.
dataclim
object.
climdexInput
object.
dataclim
object to a
climdexInput object.
Note that if basePeriod is not a sequence of consecutive years, the
range min(basePeriod):max(basePeriod) will be input to the
climdex.pcic computations.
climdex.pcic-package
data(potsdam)
date <- as.Date(potsdam$date)
myDataclim <- createDataclim(date=date, tmin=potsdam$tmin, tmax=potsdam$tmax,
prec=potsdam$prec, basePeriod=1981:2010)
myClimdex <- createClimdex(myDataclim, 1981:2010)
Run the code above in your browser using DataLab