Description Usage Arguments Value Examples
View source: R/tree_evaluation.R
Returns a vector of predicted responses for the testData. If testData is ommitted, returns predictions for the training data. This function is most meaningful if model$intercept==TRUE.
1 |
model |
A model created with splineTree() |
testData |
The data to return predictions for. If ommitted, uses the training data. |
A vector of predictions with rows corresponding to the testdata.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.