Learn R Programming

eventTrack (version 1.0.4)

exactDatesFromMonths: Compute exact timepoint when a certain number of events is reached, based on monthly number of events

Description

Based on monhtly number of events, compute exact day when the pre-specified number of events happens, using simple linear interpolation.

Usage

exactDatesFromMonths(predicted, nevent)

Value

The exact date.

Arguments

predicted

data.frame, with first column monthly dates and second column the number of events in each month.

nevent

Number of targeted events.

Author

Kaspar Rufibach (maintainer)
kaspar.rufibach@roche.com