Description Usage Arguments Details Value Author(s) See Also
This function makes predictions from a specified covariate matrix for a fit of the class "tfCox".
1 2 |
object |
an object of the class "tfCox" |
newX |
a n x p covariate matrix |
which.lambda |
the index for the model of interest to be plotted. |
... |
additional arguments to be passed. These are ignored in this function. |
Prediction for the new data point is implemented by constant or linear interpolation. 0th order trend filtering will have constant interpolation, and 1th or higher order trend filtering will have linear interpolation.
A n x p matrix containing the fitted theta values.
Jiacheng Wu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.