DoGBRROASAnalysis: Performs a GBR ROAS Analysis.

Description Usage Arguments Value See Also

View source: R/dogbrroasanalysis.R

Description

Performs a GBR ROAS Analysis.

Usage

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, ...)

Arguments

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.

Value

A GBRROASAnalysisFit object.

See Also

as.GBRROASAnalysisData, DoROASAnalysis.


google/GeoexperimentsResearch documentation built on May 17, 2019, 7:42 a.m.