allen_relation {ArchaeoPhases}R 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


[Package ArchaeoPhases version 1.8 Index]