eddDist-class              package:edd              R Documentation

_C_l_a_s_s "_e_d_d_D_i_s_t"

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

     objects from this class can be used to simulate or tabulate
     reference distributions for edd

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form 'new("eddDist", ...)'.
     These objects include a simple stub (like "norm", which can be
     modified to obtain the name of a generator (prepend "r"), cdf
     (prepend "p"), etc.) in R.

_S_l_o_t_s:

     '_s_t_u_b': Object of class '"character"' stub of a distribution
          system in R, to which "r" is prepended to get a generator,
          "p" to get a cdf, "q" to get a quantile function... 

     '_p_a_r_m_s': Object of class '"numeric"' named vector of parameters
          for a member of the family 

     '_m_e_d_i_a_n': Object of class '"numeric"' median of the distribution
          (sometimes has to be computed by simulation) 

     '_m_a_d': Object of class '"numeric"'  MAD of the distribution
          (sometimes has to be computed by simulation)

     '_t_a_g': Object of class '"character"'  an informative character tag 

     '_l_a_t_e_x_T_a_g': Object of class '"character"'  an informative
          character tag in latex format, which can use subscripts,
          greek letters, etc. 

_M_e_t_h_o_d_s:

     _c_d_f_N_a_m_e 'signature(x = "eddDist")': prepend "p" to stub(x) 

     _g_e_n_N_a_m_e 'signature(x = "eddDist")': prepend "r" to stub(x) 

     _M_a_d 'signature(x = "eddDist")': accessor 

     _m_e_d 'signature(x = "eddDist")': accessor 

     _p_a_r_m_s 'signature(x = "eddDist")': accessor 

     _q_f_N_a_m_e 'signature(x = "eddDist")': prepend "q" to stub(x) 

     _q_f_u_n 'signature(e = "eddDist")': construct a quantile function
          from the object 

     _s_t_u_b 'signature(x = "eddDist")': accessor 

     _t_a_g 'signature(x = "eddDist")': accessor 

     _l_a_t_e_x_T_a_g 'signature(x = "eddDist")': accessor 

     _t_e_s_t_V_e_c 'signature(x = "numeric", eddd = "eddDist", is.centered =
          "logical")': apply ks.test to a given vector x against the
          dist specified by the eddDist components 

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

     library(edd)
     eddDistList[[1]]
     qfun(eddDistList[[1]])

