ExperimentPeriods: Constructs an ExperimentPeriods object.

Description Usage Arguments Value Note

View source: R/experimentperiods.R

Description

Constructs an ExperimentPeriods object.

Usage

1
2
ExperimentPeriods(period.dates, period.names = NULL,
  date.format = "%Y-%m-%d")

Arguments

period.dates

(a character or Date vector); start dates of each period, plus the last date of the experiment. The first period is the pretest period, after which there must be at least one test period (there can be more than one test period); the length must be at least 3.

period.names

(character or NULL or a vector of nonempty strings) optional names of the periods. By default, names 'Pretest' and 'Test' (or 'Test1', 'Test2', ...) are used.

date.format

(string) format for the dates if provided in character format.

Value

An ExperimentPeriods object.

Note

The periods must be consecutive and each period must be at least of length 1 (day). No gaps can be specified. It is however possible to define a ('dummy') test period that is not included in the analyses.


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