Learn R Programming

debkeepr (version 0.1.1)

deb_is_tetra: Test if an object is of class deb_tetra

Description

Test if an object is of class deb_tetra.

Usage

deb_is_tetra(x)

Value

TRUE if object is of class deb_tetra and FALSE if it is not.

Arguments

x

An object.

Examples

Run this code
x <- deb_tetra(5, 3, 8, 2)
y <- c(5, 3, 8, 2)

deb_is_tetra(x)
deb_is_tetra(y)

Run the code above in your browser using DataLab