Learn R Programming

EpiInvert (version 0.3.1)

joint_indicators_by_date: joint_indicators_by_date

Description

generates a dataframe joining the dates and values of 2 indicators

Usage

joint_indicators_by_date(date0, i0, date1, i1)

Value

A dataframe with the following columns :

  • date: all dates presented in any of the indicators.

  • f: the values of the first indicator. We assign 0 in the case the data is not available for a given day.

  • g: the values of the second indicator. We assign 0 in the case the data is not available for a given day

Arguments

date0

the dates of the first indicator.

i0

the values of the first indicator.

date1

the dates of the second indicator.

i1

the values of the second indicator.