gbrroasanalysisdata: Constructs a GBRROASAnalysisData object.

Description Usage Arguments Value Note

Description

Constructs a GBRROASAnalysisData object.

Usage

1

Arguments

x

a _plain_ 'data.frame' or an object that has to be coercible to a _plain_ 'data.frame' with the required columns 'geo', which is a character vector; numeric columns 'resp.pre', 'resp.test', 'cost.pre', 'cost.test', and a logical (TRUE/FALSE) column 'control'. Optionally the data frame can have other columns, whose names can not start with a dot ('.'). No missing values are allowed.

Value

A GBRROASAnalysisData object, which is similarly a 'data.frame' with the same columns as described above.

Note

'GBRROASAnalysisData' is a 'data.frame', with the required columns,

In addition, optionally any other user-definable columns. The column 'geo' is the primary key; it is guaranteed that no rows with duplicate geos exist. The object includes the following fields stored in the attribute 'info':


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