poly(x, degree=1)
x
| a numeric vector at which to evaluate the polynomial |
degree
| the degree of the polynomial |
degree over the
specified set of points x. These are all orthogonal to the
constant polynomial of degree 0.x and columns
corresponding to the degree, with attribute "degree" specifying
the degrees of the columns.contr.polypoly(1:10, 3)