Learn R Programming

jointPm (version 2.3.1)

plot2: a plot showing response variable levels versus return probabilities (ARI/AEP)

Description

plot2 shows the univariate response variable levels versus return probabilities (ARI/AEP).

Usage

plot2(obj,prob)

Arguments

obj
is the output object from the binteg function.
prob
is how the axes show the return probability, either ARI (annual recurrence interval) or annual exceed probability (AEP).

Details

This figure include response variable levels estimated using the observed dependence, complete dependence (alpha=0) and complete independence (alpha=1) cases.

References

Zheng, F., Leonard M. and Westra S. (2014b). An efficient bivariate integration method for joint probability analysis of flood risk, Water Resources Research, under review.

Examples

Run this code
 library(jointPm)
 data(flood)
 px=flood$px;py=flood$py;z=flood$flood_table;prm=flood$prm;pout=flood$pout
 result=binteg(px,py,z,prm,pout,model="log",prob="ARI",nz=100,ninc=1000)
 plot2(result,prob="ARI")

Run the code above in your browser using DataLab