

   CCoommppuuttee OOrrtthhooggoonnaall PPoollyynnoommiiaallss

        poly(x, degree=1)

   AArrgguummeennttss::

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

     degree: the degree of the polynomial

   DDeessccrriippttiioonn::

        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.

   VVaalluuee::

        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.

   NNoottee::

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

   AAuutthhoorr((ss))::

        B.D. Ripley

   SSeeee AAllssoo::

        `contr.poly'

   EExxaammpplleess::

        poly(1:10, 3)

