save_ev_model: Save the EV model

View source: R/evmodel.R

save_ev_modelR Documentation

Save the EV model

Description

Save the EV model object of class evmodel to a JSON file

Usage

save_ev_model(evmodel, file)

Arguments

evmodel

object of class evmodel

file

character string with the path or name of the file

Value

nothing but saves the evmodel object in a JSON file

Examples

ev_model <- california_ev_model # Model of example

save_ev_model(ev_model, file = file.path(tempdir(), "evmodel.json"))


mcanigueral/evsim documentation built on April 5, 2025, 3:05 a.m.