Description Usage Arguments Value Examples
Function loads a model from the TRIGGER_PATH]/Models/ folder saved as a *.Rdata file. The Model is then applied to input data collected from an e-mail trigger via the MobileTrigger::MailTriggerInput() function
1 |
ID |
integer, Model ID value determined from MobileTrigger::ListModels() output when SelectMDL = NULL |
path |
string, path to the /Models/ folder. |
A model into the environment
1 2 3 4 5 6 7 | ################################
# Get Model #
################################
MODELPATH <- "C:/Triggers/Models/"
MDL <- GetModel(ID = 1, path = MODELPATH)
## To predict use:
## predict(MDL[[1]], newdata) # to get the model use the MDL[[1]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.