quantile-methods            package:NADA            R Documentation

_M_e_t_h_o_d_s _f_o_r _f_u_n_c_t_i_o_n _q_u_a_n_t_i_l_e _i_n _P_a_c_k_a_g_e _N_A_D_A

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

     Methods for the function 'quantile' in package 'NADA' 

     Compute the modeled values of quantiles or probabilities using a
     model object.

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

     ## S4 method for signature 'ros':
     quantile(object, probs=NADAprobs, ...)

     ## S4 method for signature 'cenfit':
     quantile(object, probs=NADAprobs, conf.int=FALSE, ...)

     ## S4 method for signature 'cenmle':
     quantile(object, probs=NADAprobs, conf.int=FALSE, ...)

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

  object: An output object from a NADA fuction such as 'ros'. 

   probs: Numeric vector of probabilities for which to calculate model
          values. The default is the global variable  NADAprobs =
          c(0.05, 0.10, 0.25, 0.50, 0.75, 0.90, 0.95). 

conf.int: A logical indicating if confidence intervals should be
          computed. For 'cenfit' and 'cenmle' objects, the confidence
          interval is set during the call to 'cenfit'. Currently not
          supported for 'ros' objects. 

     ...: Additional arguments passed to the generic method. 

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

         data(Cadmium)

         mymodel = cenfit(Cadmium$Cd, Cadmium$CdCen, Cadmium$Region)

         quantile(mymodel, conf.int=TRUE)

