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.
A model created with splineTree()
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.