getSize.Alphabet: Get the number of symbols in an Alphabet object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the number of symbols in an Alphabet object.

Usage

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

Arguments

this

An Alphabet object.

...

Not used.

Value

An integer vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Alphabet.

Examples

1
2
3
4
5
6
	# create an alphabet object
	a<-Alphabet(symbols=c(0,1,2,3,4,5))
	a
	# get alphabet size
	getSize(a)
 

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