Orthogonal polynomial expansion of a linear term based on poly
Arguments
- x
a numeric vector at which to evaluate the polynomial. Missing values are not allowed in x.
- degree
the degree of the polynomial. Must be less than the number of unique points.