Learn R Programming

googleAnalyticsR (version 1.2.0)

ga_model_write: Write the ga_model functions to a file

Description

Write the ga_model functions to a file

Usage

ga_model_write(model, filepath = "ga_model.R")

Arguments

model

The ga_model object to extract functions from to write, or a filepath to a model

filepath

The filepath to write the functions to

See Also

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

Examples

Run this code

if (FALSE) {

decomp_ga <- ga_model_example("decomp_ga.gamr")
ga_model_write(decomp_ga, "a_file.R")
}

Run the code above in your browser using DataLab