Description Usage Arguments Value Examples
View source: R/cat_functions.R
OEP Curve
1 2 3 4 5 6 | create_oep_curve(
dt,
y,
z,
rp = c(10000, 5000, 1000, 500, 250, 200, 100, 50, 25, 10, 5, 2)
)
|
dt |
aggregate annual YLT |
y |
vector of year |
z |
vector of loss amount |
rp |
return period default points= c(10000,5000,1000,500,250,200,100,50, 25,10,5 , 2) |
a vector of OEP at return periods as specified by the argument rp
1 2 | create_oep_curve(data.table::data.table("Year" = c(1,2,3,4,5) ,
"Loss" =c(1 , 20 , 500 , 100 , 10000)) , y= "Year", z="Loss")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.