Learn R Programming

Rpdb (version 2.0)

is.conect: Is an Object of Class conect?

Description

Checks whether its argument is an object of class conect.

Usage

is.conect(x)

Arguments

x
an R object to be tested.

Value

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

Details

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

See Also

conect, pdb

Examples

Run this code
x <- conect(eleid.1=rep(1,4), eleid.2=2:5)
is.conect(x)
is.conect(1)

Run the code above in your browser using DataLab