1 | data("GGumbel")
|
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"
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])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.