vec2par                package:lmomco                R Documentation

_C_o_n_v_e_r_t _a _V_e_c_t_o_r _o_f _P_a_r_a_m_e_t_e_r_s _t_o _a _P_a_r_a_m_e_t_e_r _O_b_j_e_c_t _o_f _a _D_i_s_t_r_i_b_u_t_i_o_n

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

     This function converts the L-moments of the data to the parameters
     of a distribution. The type of distribution is specified in the 
     argument list: 'cau', 'exp', 'gam', 'gev', 'glo', 'gno', 'gpa',
     'gum', 'kap', 'nor', 'pe3', and 'wak'.

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

     vec2par(vec, type, nowarn=FALSE, ...)

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

     vec: A vector of parameter values for the distribution specified
          by type.

    type: Three character distribution type (for example,
          'type='gev'').

  nowarn: A logical switch on warning surpression. If 'TRUE' then
          'options(warn=-1)' is made and restored on return. This
          switch is to permit calls in which warnings are not desired
          as the user knows how to handle the returned value-say in an
          optimization algorithm.

     ...: Additional arguments for the 'are.par.valid' call that is
          made internally.

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

     An R 'list' is returned.

    type: The type of distribution in three character format.

    para: The parameters of the distribution.

  source: Attribution specifying source of the parametes-"vec2par".

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

     W.H. Asquith

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

     'lmom2par'

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

     para <- vec2par(c(12,123,0.5),'gev')
     Q <- quagev(0.5,para)

