Nothing
Code
predict(mod, newdata = NULL)
Condition
Error:
! newdata must be non-null
Code
predict(mod, data$x, neighbors = c(1, 2))
Condition
Error in `predict.cubist()`:
! only a single value of neighbors is allowed
Code
predict(mod, data$x, neighbors = 10)
Condition
Error in `predict.cubist()`:
! 'neighbors' must be less than 10
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.