ga_model_write: Write the ga_model functions to a file

View source: R/models.R

ga_model_writeR Documentation

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


## Not run: 

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

## End(Not run)

MarkEdmondson1234/googleAnalyticsR_public documentation built on Sept. 7, 2024, 6:27 a.m.