Description Usage Arguments Value Warning Examples

This is a method for the generic function `predict`

for class `"l1ce"`

, typically produced from
`l1ce()`

. When `newdata`

is missing, the
fitted values are extracted, otherwise returns *new* predictions.

1 2 3 |

`object` |
a fitted |

`newdata` |
a data frame containing the values at which predictions are required.
This argument can be missing, in which case predictions are made at
the same values used to compute the object.
Only those predictors referred to in the right side of the formula in
object need be present by name in |

`type` |
currrently only |

`se.fit` |
logical indicating if standard errors should be returned
as well. |

`...` |
further potential arguments passed to methods. |

a vector of predictions.

`predict`

can produce incorrect predictions when the `newdata`

argument is used if the formula in `object`

involves
transformations, such as `poly(Age, 3)`

or `sqrt(Age - min(Age))`

.

MM: Not sure this is true for **R** ....

1 2 3 4 |

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.