Skip to contents

Infers the start (initial) or end date one needs to consider for backtesting

Usage

infer_start_date(ncast)

infer_end_date(ncast, start_date)

Arguments

ncast

A nowcaster object generated by nowcast()

start_date

An object of datatype Date indicating the date at which to start the historical nowcasting (first 'now' date to nowcast).

Value

A date from which backtesting is possible to start or end (respectively)