Learn R Programming

phylosim (version 3.0.5)

getBaseFreqs.K80: Get the base frequency parameters

Description

Get the base frequency parameters.

The order of the frequency parameters must match with the order of symbols in the NucleotideAlphabet objects. The K80 model has equal base frequencies.

Usage

# S3 method for K80
getBaseFreqs(this, ...)

Arguments

this

A K80 object.

...

Not used.

Value

A matrix containing the base frequency parameters.

See Also

For more information see K80.

Examples

Run this code
# NOT RUN {
	# construct object
	p<-K80()
	# get base frequency parameters
	getBaseFreqs(p) # uniform
	# set/get base frequency parameters via virtual field
	p$baseFreqs # uniform
 
# }

Run the code above in your browser using DataLab