GGumbel: Class definition to control gumbel distribution

Usage Format Examples

Usage

1
data("GGumbel")

Format

The format is: Class 'R6ClassGenerator' <GGumbel> object generator Inherits from: <Dbase> Public: Eq: function (X) Param: function () SetParam: function (mu, eta) MuSigm: function (mu, eta) clone: function (deep = FALSE) Private: eta: 0 mu: 0 Parent env: <environment: namespace:LimitState> Locked objects: TRUE Locked class: FALSE Portable: TRUE - attr(*, "name")= chr "GGumbel_generator"

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#fundamental usage
gum<-GGumbel$new(mu=1.0,sigmma=0.1)
res<-gum$Param()
cat("Shape=",res[2],",Location=",res[1])
#example: giving loc and scale parameters and returning mu,sigm
loc<-0.05; shape<-0.8
res2<-gum$MuSigm(mu=loc,eta=shape)
cat("mu=",res2[1],",sigm=",res2[2])
#Calculating equivalent norm distribution
gum<-GGumbel$new(mu=1.0,sigmma=0.1)
xval<-0.5
res3<-gum$Eq(X=xval)
cat("mu_eq=",res3[1],",sig_eq=",res3[2])

ShinsukeSakai0321/LimitState documentation built on Dec. 26, 2019, 11:31 a.m.