Learn R Programming

Rpdb (version 2.0)

is.pdb: Is an Object of Class pdb?

Description

Checks whether its argument is an object of class pdb.

Usage

is.pdb(x)

Arguments

x
an R object to be tested

Value

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

Details

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

See Also

pdb

Examples

Run this code
x <- read.pdb(system.file("examples/PCBM_ODCB.pdb",package="Rpdb"))
is.pdb(x)
is.pdb(1)

Run the code above in your browser using DataLab