allen.relation: Allen relation of two definite intervals

View source: R/support.R

allen.relationR Documentation

Allen relation of two definite intervals

Description

Calculates the Allen relation of two definite intervals and reports the one-letter code for the interval proposed by Thomas Alspaugh. Stops with an error if the end of an interval is earlier than its start.

Usage

allen.relation(start.1, end.1, start.2, end.2)

Arguments

start.1

The start date of the first interval

end.1

The end date of the first interval

start.2

The start date of the second interval

end.2

The end date of the second interval

Value

A one-letter code indicating the Allen relation

Author(s)

Thomas S. Dye


tsdye/allen.archaeology documentation built on April 6, 2023, 10:12 a.m.