Learn R Programming

phinterval (version 1.0.0)

is_phinterval: Test if the object is a phinterval

Description

This function returns TRUE for <phinterval> vectors and returns FALSE otherwise.

Usage

is_phinterval(x)

Value

TRUE if x is a <phinterval>, FALSE otherwise.

Arguments

x

An object to test.

Examples

Run this code
is_phinterval(phinterval())
is_phinterval(interval())

Run the code above in your browser using DataLab