Learn R Programming

phylosim (version 3.0.5)

isEmpty.Alphabet: Check if the symbol set is empty

Description

Check if the symbol set is empty.

Usage

# S3 method for Alphabet
isEmpty(this, ...)

Arguments

this

An Alphabet object.

...

Not used.

Value

TRUE or FALSE

See Also

For more information see Alphabet.

Examples

Run this code
# NOT RUN {
	# create an empty alphabet
	a<-Alphabet();
	# check whether it is empty
	isEmpty(a)
	# specify a new symbol set
	a$symbols<-c(0,1)
	isEmpty(a)
 
# }

Run the code above in your browser using DataLab