Description Usage Arguments Value Examples
predict
method for objects of class rseg
.
1 2 3 |
object |
an object of class |
newdata |
optional data to use for pediction. If omitted, the fitted values in |
type |
the type of prediction to be returned. For "response", this is the mean of a numeric response, the predicted class for a categorical response or the median survival time for a censored response. For "prob", there are two options: 1) in case of a categorical response this is a matrix of conditional class probabilities or a list with the conditional class probabilities for each observation. 2) In case of numeric and censored responses, this is a list with the empirical cumulative distribution functions and empirical survivor functions (Kaplan-Meier estimate). For "segment", this is an integer vector of terminal node identifiers. |
... |
not used. |
A list, matrix or vector of predictions.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.