GeoPlot | R Documentation |
GeoPlot
takes a data frame used for GeoLift to generate
a plot of each location's time series.
GeoPlot(
data,
Y_id = "Y",
time_id = "time",
location_id = "location",
treatment_start = 0,
KPI_id = "",
notes = ""
)
data |
A data.frame containing the historical conversions by geographic unit. It requires a "locations" column with the geo name, a "Y" column with the outcome data (units), a time column with the indicator of the time period (starting at 1), and covariates. |
Y_id |
Name of the outcome variable (String). |
time_id |
Name of the time variable (String). |
location_id |
Name of the location variable (String). |
treatment_start |
Treatment start (Default = 0). |
KPI_id |
Outcome variable. |
notes |
Additional notes. |
A plot of each location's time series.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.