Set Operations on Time Intervals


[Up] [Top]

Documentation for package ‘phinterval’ version 1.0.0

Help Pages

as_duration Convert a phinterval to a duration
as_duration.default Convert a phinterval to a duration
as_duration.phinterval Convert a phinterval to a duration
as_phinterval Convert an interval or datetime vector into a phinterval
as_phinterval.default Convert an interval or datetime vector into a phinterval
as_phinterval.Interval Convert an interval or datetime vector into a phinterval
datetime_squash Squash overlapping intervals into non-overlapping spans
hole Create a hole phinterval
is_hole Test for empty intervals
is_phinterval Test if the object is a phinterval
is_phintish Test if the object is a phinterval or interval
is_recognized_tzone Test if the object is a recognized time zone
n_spans Count the number of spans in a phinterval
n_spans.default Count the number of spans in a phinterval
n_spans.Interval Count the number of spans in a phinterval
n_spans.phinterval Count the number of spans in a phinterval
phinterval Create a new phinterval
phinterval-accessors Accessors for the endpoints of a phinterval
phinterval-set-operations Vectorized set operations
phinterval_options Package options
phint_complement Vectorized set operations
phint_end Accessors for the endpoints of a phinterval
phint_end.default Accessors for the endpoints of a phinterval
phint_end.Interval Accessors for the endpoints of a phinterval
phint_end.phinterval Accessors for the endpoints of a phinterval
phint_ends Accessors for the endpoints of a phinterval
phint_ends.default Accessors for the endpoints of a phinterval
phint_ends.Interval Accessors for the endpoints of a phinterval
phint_ends.phinterval Accessors for the endpoints of a phinterval
phint_intersect Vectorized set operations
phint_invert Get the gaps in a phinterval as time spans
phint_length Compute the length of a phinterval in seconds
phint_length.default Compute the length of a phinterval in seconds
phint_length.Interval Compute the length of a phinterval in seconds
phint_length.phinterval Compute the length of a phinterval in seconds
phint_lengths Compute the length of a phinterval in seconds
phint_lengths.default Compute the length of a phinterval in seconds
phint_lengths.Interval Compute the length of a phinterval in seconds
phint_lengths.phinterval Compute the length of a phinterval in seconds
phint_overlaps Test whether two phintervals overlap
phint_setdiff Vectorized set operations
phint_sift Remove instantaneous time spans from a phinterval
phint_squash Squash overlapping intervals into non-overlapping spans
phint_start Accessors for the endpoints of a phinterval
phint_start.default Accessors for the endpoints of a phinterval
phint_start.Interval Accessors for the endpoints of a phinterval
phint_start.phinterval Accessors for the endpoints of a phinterval
phint_starts Accessors for the endpoints of a phinterval
phint_starts.default Accessors for the endpoints of a phinterval
phint_starts.Interval Accessors for the endpoints of a phinterval
phint_starts.phinterval Accessors for the endpoints of a phinterval
phint_union Vectorized set operations
phint_unnest Unnest a phinterval into a data frame
phint_within Test whether a datetime or phinterval is within another phinterval
squash Squash overlapping intervals into non-overlapping spans