Gumbel                package:distrEx                R Documentation

_G_e_n_e_r_a_t_i_n_g _f_u_n_c_t_i_o_n _f_o_r _G_u_m_b_e_l-_c_l_a_s_s

_D_e_s_c_r_i_p_t_i_o_n:

     Generates an object of class '"Gumbel"'.

_U_s_a_g_e:

     Gumbel(loc = 0, scale = 1)

_A_r_g_u_m_e_n_t_s:

     loc: real number: location parameter of  the Gumbel distribution. 

   scale: positive real number: scale parameter of the Gumbel
          distribution 

_V_a_l_u_e:

     Object of class '"Gumbel"'

_N_o_t_e:

     The class '"Gumbel"' is based on the code provided  by the package
     'evd'.

_A_u_t_h_o_r(_s):

     Matthias Kohl Matthias.Kohl@stamats.de

_S_e_e _A_l_s_o:

     'Gumbel-class', 'rgumbel'

_E_x_a_m_p_l_e_s:

     (G1 <- Gumbel(loc = 1, scale = 2))
     plot(G1)
     loc(G1)
     scale(G1)
     loc(G1) <- -1
     scale(G1) <- 2
     plot(G1)

     E(Gumbel()) # Euler's constant
     E(G1, function(x){x^2})

     ## The function is currently defined as
     function(loc = 0, scale = 1){ 
       new("Gumbel", loc = loc, scale = scale)
     }

