Learn R Programming

phylosim (version 3.0.5)

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

Description

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

Usage

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

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE

See Also

For more information see Alphabet.

Examples

Run this code
# NOT RUN {
	# create an alphabet object
	a<-Alphabet()
	# create a PSRoot object
	o<-PSRoot()
	# check if they are alphabet objects
	is.Alphabet(a)
	is.Alphabet(o)

 
# }

Run the code above in your browser using DataLab