Learn R Programming

sits (version 1.12.0)

.sits_is_valid_start_date: Test if starting date fits with the timeline

Description

A timeline is a list of dates where observations are available. This functions estimates if a date is valid by comparing it to the timeline. If the date's estimate is not inside the timeline and the difference between the date and the first date of timeline is greater than the acquisition interval of the timeline, then we conclude the date is not valid.

Usage

.sits_is_valid_start_date(date, timeline)

Arguments

date

A date.

timeline

A vector of reference dates.

Value

Is this is valid starting date?