Description Usage Arguments Value Examples
View source: R/train_predict.R
predict.KMforCSD
returns the KM decision function, together with the test data (which can be equivalent to the training data).
1 2 | ## S3 method for class 'KMforCSD'
predict(object, newdata)
|
object |
A KMforCSD fitted model. This is the output of |
newdata |
A data frame consisting of the p-dimensional covariates Z, the current status indicator vector delta, and the censoring times C. |
The function returns a data frame consisting of newdata, and the kernel machine predictions.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.