ga_model_save: Save a created model

View source: R/models.R

ga_model_saveR Documentation

Save a created model

Description

Save a created model

Usage

ga_model_save(model, filename = "my-model.gamr")

Arguments

model

model to save

filename

name to save model under

See Also

Other GA modelling functions: ga_model(), ga_model_edit(), ga_model_example(), ga_model_load(), ga_model_make(), ga_model_shiny(), ga_model_shiny_load(), ga_model_shiny_template(), ga_model_write()

Examples


## Not run: 
# load the model (equivalent to ga_model_load())
decomp_ga <- ga_model_example("decomp_ga.gamr")

# save it somewhere else
ga_model_save(decomp_ga, "somewhereelse.gamr")


## End(Not run)

googleAnalyticsR documentation built on Sept. 11, 2024, 8:15 p.m.