Learn R Programming

phylosim (version 3.0.5)

is.QMatrix: Check if an object is an instance of the QMatrix class

Description

Check if an object is an instance of the QMatrix class.

Usage

# S3 method for default
is.QMatrix(this, ...)

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE.

See Also

For more information see QMatrix.

Examples

Run this code
# NOT RUN {
       # create some objects
       m<-QMatrix()
       p<-Process()
       # chek if they inherit from QMatrix
       is.GeneralSubstitution(m)
       is.GeneralSubstitution(p)
 
# }

Run the code above in your browser using DataLab