Description Usage Arguments Value Note
View source: R/tbranalysisdata.R
Constructs a TBRAnalysisData object.
1 |
x |
a _plain_ |
A TBRAnalysisData
object, which is similarly a
data.frame
with the columns:
TBRAnalysisData
is a data.frame
, with the required columns,
date
: a 'Date'-valued vector.
period
: numeric indicator of various periods.
0
indicates the pretest period. NA
indicates a date
that has been excluded from the analyses.
y
: numeric values of the metric of the Treatment group.
x
: numeric values of the metric in the Control group.
In addition, optionally any other user-definable columns.
The column date
is the primary key; it is guaranteed that no
rows with duplicate geos exist and that the rows are in temporal order.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.