Pred.fun is the prediction function. It can be any model created by "nnet", "randomforest" and "kernlab" etc. Pred.fun must be consistent with the field X.Data.
IPPModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.