Skip to contents

Limits the duration between date_start and date_stop to t_max by truncating date_stop where necessary.

Usage

OR.txlines.truncate(date_start, date_stop, t_max)

Arguments

date_start

Numeric matrix of start dates.

date_stop

Numeric matrix of stop dates.

t_max

Maximum allowed duration.

Value

Numeric matrix of truncated stop dates where date_stop - date_start does not exceed t_max.

See also