addconditions: Create condition variables and add them to the dataset

Description Usage Arguments Value

Description

Create condition variables and add them to the dataset

Usage

1
2
addconditions(data, spring = 15:26, autumn = 36:45,
  last = getOption("euromomo")$DayOfAggregation, delay = 0, seasons = 5)

Arguments

data

input data in EuroMOMO format

spring

Week numbers for spring period, vector of integers between 1 and 53

autumn

Week numbers for autumn period, vector of integers between 1 and 53

last

The last period that will be excluded

delay

the number of delay week

seasons

the number of full seasons

Value

EuroMOMO data with extra variables with conditions used for modelling


thl-mjv/euromomo documentation built on May 31, 2019, 10:43 a.m.