Load an example model
ga_model_example(name = "list")
name of the model - set to "list" to show available files
Other GA modelling functions:
ga_model_edit()
,
ga_model_load()
,
ga_model_make()
,
ga_model_save()
,
ga_model_shiny_load()
,
ga_model_shiny_template()
,
ga_model_shiny()
,
ga_model_write()
,
ga_model()
# example .gamr files included with the package
ga_model_example()
#> [1] "decomp_ga.gamr" "decomp_ga_advanced.gamr"
#> [3] "ga-effect.gamr" "ga4-trend.gamr"
#> [5] "market-basket.gamr" "time-normalised.gamr"
# load one example
ga_model_example("ga4-trend.gamr")
#> ==ga_model object==
#> Description: GA4 Metric Trend
#> Data args: view_id date_range metrics
#> Input data: date
#> Model args: df
#> Output args: df
#> Packages: xts dygraphs