Description Usage Arguments Value See Also
View source: R/as_gbrroasanalysisdata.R
Coerces an object to a GBRROASAnalysisData object.
1 2 3 4 5 6 7 | as.GBRROASAnalysisData(obj, ...)
## S3 method for class 'GeoExperimentData'
as.GBRROASAnalysisData(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 to be passed to or from other methods. |
response |
(string) name of the response variable column. |
cost |
(string) name of the cost variable column. |
pretest.period |
(vector of non-negative integers) number(s) of the period(s) forming the pretest period. |
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 |
(NULL or vector of non-negative integers) number(s) of the period(s) forming the cooldown period. All must be larger than the largest period in the intervention period. |
control.group |
(NULL or a vector of positive integers) number(s) of geo groups forming the control group. |
treatment.group |
(NULL or a vector of positive integers) number(s) of geo groups forming the control group. |
A GBRROASAnalysisData object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.