Description Usage Arguments Value See Also
View source: R/Design_Event_2D.R
Calculates the single design event under the assumption of full dependence, or once accounting for dependence between variables the single "most-likely" or an ensemble of possible design events.
1 2 3 4 5 | Design_Event_2D(Data, Data_Con1, Data_Con2, Thres1, Thres2, Copula_Family1,
Copula_Family2, Marginal_Dist1, Marginal_Dist2, Con1 = "Rainfall",
Con2 = "OsWL", mu = 365.25, RP, x_lab = "Rainfall (mm)",
y_lab = "O-sWL (mNGVD 29)", x_lim_min = NA, x_lim_max = NA,
y_lim_min = NA, y_lim_max = NA, N, N_Ensemble, Sim_Max = 10)
|
Data |
Data frame of dimension |
Data_Con1 |
Data frame containing the conditional sample (declustered excesses paired with concurrent values of other variable), conditioned on the variable in the first column. |
Data_Con2 |
Data frame containing the conditional sample (declustered excesses paired with concurrent values of other variable), conditioned on the variable in the second column. Can be obtained using the |
Thres1 |
Numeric vector of length one specifying the threshold above which the variable in the first column was sampled in Data_Con1. |
Thres2 |
Numeric vector of length one specifying the threshold above which the variable in the second column was sampled in Data_Con2. |
Copula_Family1 |
Numeric vector of length one specifying the copula family used to model the |
Copula_Family2 |
Numeric vector of length one specifying the copula family used to model the |
Marginal_Dist1 |
Character vector of length one specifying (non-extreme) distribution used to model the marginal distribution of the non-conditioned variable. |
Marginal_Dist2 |
Character vector of length one specifying (non-extreme) distribution used to model the marginal distribution of the non-conditioned variable. |
Con1 |
Character vector of length one specifying the name of variable in the first column of |
Con2 |
Character vector of length one specifying the name of variable in the second column of |
mu |
Numeric vector of length one specifying the (average) occurrence frequency of events in |
RP |
Numeric vector of length one specifying the return period of interest. |
x_lab |
Character vector specifying the x-axis label. |
y_lab |
Character vector specifying the y-axis label. |
x_lim_min |
Numeric vector of length one specifying x-axis minimum. Default is |
x_lim_max |
Numeric vector of length one specifying x-axis maximum. Default is |
y_lim_min |
Numeric vector of length one specifying y-axis minimum. Default is |
y_lim_max |
Numeric vector of length one specifying y-axis maximum. Default is |
N |
Numeric vector of length one specifying the size of the sample from the fitted joint distributions used to estimate the density along an isoline. Samples are collected from the two joint distribution with proportions consistent with the total number of extreme events conditioned on each variable. |
N_Ensemble |
Numeric vector of length one specifying the number of possible design events sampled along the isoline of interest. |
Sim_Max |
Numeric vector of length one specifying the maximum value, given as a multiple of the largest observation of each variable, permitted in the sample used to estimate the (relative) probabilities along the isoline. |
Plot of all the observations (grey circles) as well as the declustered excesses above Thres1 (blue circles) or Thres2 (blue circles), observations may belong to both conditional samples. Also shown is the isoline associated with RP
contoured according to their relative probability of occurrence on the basis of the sample from the two joint distributions, the "most likely" design event (black diamond), and design event under the assumption of full dependence (black triangle) are also shown in the plot. The function also returns a list comprising the design events assuming full dependence "FullDependence"
, as well as once the dependence between the variables is accounted for the "Most likley" "MostLikelyEvent" as well as an "Ensemble" of possible design events.
Dataframe_Combine
Copula_Threshold_2D
Diag_Non_Con
Diag_Non_Con_Trunc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.