polyreg {mda} | R Documentation |
Polynomial Regression
Description
Simple minded polynomial regression.
Usage
polyreg(x, y, w, degree = 1, monomial = FALSE, ...)
Arguments
x |
predictor matrix. |
y |
response matrix. |
w |
optional (positive) weights. |
degree |
total degree of polynomial basis (default is 1). |
monomial |
If |
... |
currently not used. |
Value
A polynomial regression fit, containing the essential ingredients for
its predict
method.
[Package mda version 0.5-4 Index]