Learn R Programming

phylosim (version 3.0.5)

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

Description

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

Usage

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

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE.

See Also

For more information see GeneralSubstitution.

Examples

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

Run the code above in your browser using DataLab