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 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.