Learn R Programming

debkeepr (version 0.1.1)

deb_is_decimal: Test if an object is of class deb_decimal

Description

Test if an object is of class deb_decimal.

Usage

deb_is_decimal(x)

Value

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

Arguments

x

An object.

Examples

Run this code
x <- deb_decimal(c(5.25, 3.825, 8.5))
y <- c(5.25, 3.825, 8.5)

deb_is_decimal(x)
deb_is_decimal(y)

Run the code above in your browser using DataLab