polyreg                 package:mda                 R Documentation

_P_o_l_y_n_o_m_i_a_l _R_e_g_r_e_s_s_i_o_n

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

     Simple minded polynomial regression.

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

     polyreg(x, y, w, degree = 1, monomial = FALSE, ...)

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

       x: predictor matrix.

       y: response matrix.

       w: optional (positive) weights.

  degree: total degree of polynomial basis (default is 1).

monomial: If 'TRUE' a monomial basis is used (no cross terms).  Default
          is 'FALSE'.

     ...: currently not used.

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

     A polynomial regression fit, containing the essential ingredients
     for its 'predict' method.

