Description Usage Arguments Value Author(s) Examples

Make predictions or extract coefficients from a forward stepwise object

1 2 3 4 |

`object` |
Object returned by a call to |

`newx` |
Matrix of x values at which the predictions are desired. If NULL, the x values from forward stepwise fitting are used |

`s` |
Step number(s) at which predictions or coefficients are desired |

`...` |
Additional arguments |

Either a vector/matrix of predictions, or a vector/matrix of coefficients.

Ryan Tibshirani, Rob Tibshirani, Jonathan Taylor, Joshua Loftus, Stephen Reid

1 2 3 4 5 6 7 8 9 10 11 |

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.