# polyreg

From mda v0.4-10
by Trevor Hastie

##### Polynomial Regression

Simple minded polynomial regression.

- Keywords
- 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

`TRUE`

a monomial basis is used (no cross terms). Default is`FALSE`

.- …
currently not used.

##### Value

A polynomial regression fit, containing the essential ingredients for
its `predict`

method.

*Documentation reproduced from package mda, version 0.4-10, License: GPL-2*

### Community examples

Looks like there are no examples yet.