Learn R Programming

affiner (version 0.1.3)

is_coord3d: Test whether an object has a Coord3D class

Description

is_coord3d() tests whether an object has a "Coord3D" class

Usage

is_coord3d(x)

Value

A logical value

Arguments

x

An object

Examples

Run this code
p <- as_coord3d(x = sample.int(10, 3),
                y = sample.int(10, 3),
                z = sample.int(10, 3))
is_coord3d(p)

Run the code above in your browser using DataLab