predict.RLT | R Documentation |

Predict future subjects with a fitted RLT model

```
## S3 method for class 'RLT'
predict(object, testx, ...)
```

`object` |
A fitted RLT object |

`testx` |
Testing data |

`...` |
... |

The predicted values. For survival model, it returns the fitted survival functions

```
x = matrix(rnorm(100), ncol = 10)
y = rowMeans(x)
fit = RLT(x, y, ntrees = 5)
predict(fit, x)
```

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.