powered by
evmodel
Save the EV model object of class evmodel to a JSON file
save_ev_model(evmodel, file)
nothing but saves the evmodel object in a JSON file
object of class evmodel (see this link for more information)
character string with the path or name of the file
ev_model <- california_ev_model # Model of example save_ev_model(ev_model, file = file.path(tempdir(), "evmodel.json"))
Run the code above in your browser using DataLab