degree over the specified set of points x: the polynomials are all orthogonal to the constant polynomial of degree 0. Alternatively, evaluates the first derivatives of raw polynomials.
dpoly(x, ..., degree = 1, coefs = NULL, raw = FALSE)x can also be a matrix. Missing values are not allowed in x.
raw = TRUE.
x and columns corresponding to the degree, with attributes "degree" specifying the degrees of the columns (prior to taking the derivative) and (unless raw = TRUE) "coefs" which contains the centering and normalization constants used in constructing the orthogonal polynomials. The matrix has been given class c("poly","matrix").
poly, ddpoly