Learn R Programming

phylosim (version 3.0.5)

is.CodonAlphabet: Check if an object inherits from CodonAlphabet

Description

Check if an object inherits from CodonAlphabet.

Usage

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

Arguments

this

An object.

...

Not used.

Value

TRUE of FALSE.

Examples

Run this code
# NOT RUN {
	# create some objects
	a<-CodonAlphabet()
	p<-Process()
	# check if they inherit from CodonAlphabet
	is.CodonAlphabet(a)
	is.CodonAlphabet(p)
 
# }

Run the code above in your browser using DataLab