residuals-methods        package:fRegression        R Documentation

_E_x_t_r_a_c_t _R_e_g_r_e_s_s_i_o_n _M_o_d_e_l _R_e_s_i_d_u_a_l_s

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

     Extracts residuals from a fitted regression object.

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

     ## S4 method for signature 'fREG':
     residuals(object)

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

  object: an object of class 'fREG' as returned from the function
          'regFit()' or 'gregFit()'. 

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



     _o_b_j_e_c_t = "_A_N_Y" Generic function

     _o_b_j_e_c_t = "_f_R_E_G" Residuals


_N_o_t_e:

     'residuals' is a generic function which extracts residual values 
     from objects returned by modeling functions.

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

     Diethelm Wuertz for the Rmetrics R-port.

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

     ## regSim -
        x = regSim(model = "LM3", n = 50)
       
     ## regFit -
        fit = regFit(Y ~ X1 + X2 + X3, data = x, use = "lm")
        
     ## residuals - 
        residuals(fit)

