Learn R Programming

Rpdb (version 2.0)

is.coords: Is an Object of Class coords?

Description

Checks whether its argument is an object of class coords.

Usage

is.coords(x)

Arguments

x
an R object to be tested

Value

  • TRUE if x is an object of class coords and FALSE otherwise

Details

Tests if x is an object of class coords, i.e. if x has a class attribute equal to coords.

See Also

coords, pdb

Examples

Run this code
x <- coords(c(0,0),c(0,0),c(0,1), basis = "xyz")
is.coords(x)
is.coords(1)

Run the code above in your browser using DataLab