

poly {base}                                  R Documentation

_C_o_m_p_u_t_e _O_r_t_h_o_g_o_n_a_l _P_o_l_y_n_o_m_i_a_l_s

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

     Returns orthogonal polynomials of degree 1 to `degree'
     over the specified set of points `x'. These are all
     orthogonal to the constant polynomial of degree 0.

_U_s_a_g_e_:

     poly(x, degree=1)

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

       x: a numeric vector at which to evaluate the polyno-
          mial

  degree: the degree of the polynomial

_V_a_l_u_e_:

     A matrix with rows corresponding to points in `x' and
     columns corresponding to the degree, with attributes
     `"degree"' specifying the degrees of the columns and
     `"coefs"' which contains the centring and normalization
     constants used in constructing the orthogonal polynomi-
     als.

_N_o_t_e_:

     This routine is intended for statistical purposes such
     as `contr.poly': it does not attempt to orthogonalize
     to machine accuracy.

_A_u_t_h_o_r_(_s_)_:

     B.D. Ripley

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

     `contr.poly'

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

     poly(1:10, 3)

