save_model | R Documentation |
This function saves a given R model object to a randomly named '.RData' file in the '/tmp/' directory. The file is saved with a unique name generated using random letters.
save_model(model)
model |
The R model object to be saved. |
A string representing the full file path to the saved '.RData' file.
model <- lm(mpg ~ cyl, data = mtcars)
file_path <- save_model(model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.