plot2: a plot showing response variable levels versus return...

View source: R/plot2.R

plot2R Documentation

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

 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")

jointPm documentation built on April 23, 2023, 1:15 a.m.