Description Usage Arguments Value Author(s) References See Also Examples

Produces fitted values for a model of class `polymars`

.

1 2 |

`object` |
object of the class |

`x` |
the predictor values at which the fitted values will be computed. The
predictor values can be in a number of formats. It can take the form of a
vector of length equal to the number of predictors in the original data set
or it can be shortened to the length of only those predictors that occur in
the model, in the same order as they appear in the original data set.
Similarly, |

`classify` |
if the original call to polymars was for a classification problem and you would
like the classifications (class predictions), set this option equal to |

`intercept` |
Setting intercept equal to |

`...` |
other arguments are ignored. |

A matrix of fitted values.
The number of columns in the
returned matrix equals the number of responses in the original call to `polymars`

.

Martin O'Connor.

Charles Kooperberg, Smarajit Bose, and Charles J. Stone (1997).
Polychotomous regression. *Journal of the American Statistical
Association*, **92**, 117–127.

Charles J. Stone, Mark Hansen, Charles Kooperberg, and Young K. Truong.
The use of polynomial splines and their tensor products in extended
linear modeling (with discussion) (1997). *Annals of Statistics*,
**25**, 1371–1470.

`polymars`

,
`design.polymars`

,
`plot.polymars`

,
`summary.polymars`

.

1 2 3 |

```
state.region
Northeast South North Central West
1 8 0 0 0
2 0 16 0 0
3 1 0 12 0
4 0 0 0 13
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.