# NOT RUN {
## Simple example
data(ClimateSeries)
ThisData = WACSdata(ClimateSeries,from="1995-01-01", to="2005-12-31")
ThisPar = WACSestim(ThisData)
ThatData = WACSdata(ClimateSeries,from="2002-01-01", to="2012-12-31")
Comp = WACScompare(what="Sim", wacs1=ThisData, wacspar=ThisPar,
wacs2=ThatData, varname="tmin")
WACSplot(Comp)
Comp = WACScompare(what="MeanSd",wacs1=ThisData, wacspar=ThisPar,
wacs2=ThatData, varname="RG")
WACSplot(Comp)
Comp = WACScompare(what="SumBase", wacs1=ThisData, wacspar=ThisPar,
wacs2=ThatData, varname="tmoy", base=5, months=2:5)
WACSplot(Comp)
Comp = WACScompare(what="Persistence",wacs1=ThisData, wacspar=ThisPar,
wacs2=ThatData, varname="tmin", base=0, above=FALSE)
WACSplot(Comp)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab