Learn R Programming

googleAnalyticsR (version 1.2.0)

ga_model_save: 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

Run this code

if (FALSE) {
# 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")

}

Run the code above in your browser using DataLab