Description Usage Arguments Value See Also
View source: R/dogbrroasanalysis.R
Performs a GBR ROAS Analysis.
1 2 3 4 5 6 7 8 9 | DoGBRROASAnalysis(obj, ...)
## S3 method for class 'GBRROASAnalysisData'
DoGBRROASAnalysis(obj, ...)
## S3 method for class 'GeoExperimentData'
DoGBRROASAnalysis(obj, response = character(0),
cost = character(0), pretest.period = 0L, intervention.period = 1L,
cooldown.period = NULL, control.group = 1L, treatment.group = 2L, ...)
|
obj |
an object. |
... |
further arguments passed to or from other methods. |
response |
(string) name of the response variable column. |
cost |
(string) name of the cost variable column. |
pretest.period |
(non-negative integer) number of the pretest period, typically 0. |
intervention.period |
(vector of non-negative integers) number(s) of the period(s) forming the intervention period. All must be larger than the largest period in the pretest period. |
cooldown.period |
(vector of non-negative integers or NULL) number(s) of the period(s) forming the cooldown period. All must be larger than the largest period in the intervention period. |
control.group |
(a vector of positive integers) number(s) of geo groups forming the control group. |
treatment.group |
(a vector of positive integers) number(s) of geo groups forming the treatment group. |
A GBRROASAnalysisFit object.
as.GBRROASAnalysisData
, DoROASAnalysis
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.