powered by
is_coord3d() tests whether an object has a "Coord3D" class
is_coord3d()
is_coord3d(x)
A logical value
An object
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