JM <- c(61.5, 77.0, 37.0, 69.3, 75.6, 74.9, 43.7, 50.8, 55.6, 84.1, 43.6, 81.9,
60.1, 72.4, 61.6, 94.8, 82.6, 57.2, 63.1, 73.8, 51.3, 93.6, 56.9, 52.1, 40.4,
48.9, 113.6, 35.4, 40.1, 89.6, 47.8, 57.6, 38.9, 69.7, 110.8)
EWV.bach <- extremeStat(dat=JM)
# Im Graphikfenster sollte jetzt ein Plot sein...
EWV.bach
# Beispiele fuer Argumente, die ich in der Funktion eingebaut habe:
extremeStat(JM, ReturnYears=c(2,5,10,15,20,25,30,50,100), plot=FALSE) $ discharge
par(bg=8)
extremeStat(JM, PlotParam=TRUE, ParamPosX=2, ParamPosY=3)
extremeStat(JM, xlim=c(0,100), ylim=c(35,140), LegendPos=c(90,100))
par(bg="yellow")
extremeStat(JM, PlotParam=TRUE, LegendPos="right", AddRegr=FALSE)
#extremeStat(JM, lty=2)
Run the code above in your browser using DataLab