joint_indicators_by_date: 'joint_indicators_by_date'

View source: R/EpiIndicators.R

joint_indicators_by_dateR Documentation

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)

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.

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


EpiInvert documentation built on Dec. 28, 2022, 2:35 a.m.