Learn R Programming

phylosim (version 3.0.5)

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

Description

Get the number of symbols in an Alphabet object.

Usage

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

Arguments

this

An Alphabet object.

...

Not used.

Value

An integer vector of length one.

See Also

For more information see Alphabet.

Examples

Run this code
# NOT RUN {
	# create an alphabet object
	a<-Alphabet(symbols=c(0,1,2,3,4,5))
	a
	# get alphabet size
	getSize(a)
 
# }

Run the code above in your browser using DataLab