Description Usage Arguments Examples
This function calls promote's REST API and returns a response formatted as a data frame.
| 1 2 | promote.predict(model_name, data, model_owner, raw_input = FALSE,
  silent = TRUE)
 | 
| model_name | the name of the model you want to call | 
| data | input data for the model | 
| model_owner | the owner of the model [optional] | 
| raw_input | when true, incoming data will NOT be coerced into data.frame | 
| silent | should output of url to console (via  | 
| 1 2 3 4 5 6 7 8 9 | promote.config <- c(
 username = "your username",
 apikey = "your apikey",
 env = "http://sandbox.promotehq.com/"
)
## Not run: 
promote.predict("irisModel", iris)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.