isEmpty.Alphabet: Check if the symbol set is empty

Description Usage Arguments Value Author(s) See Also Examples

Description

Check if the symbol set is empty.

Usage

1
2
## S3 method for class 'Alphabet'
isEmpty(this, ...)

Arguments

this

An Alphabet object.

...

Not used.

Value

TRUE or FALSE

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Alphabet.

Examples

1
2
3
4
5
6
7
8
	# 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)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.