Learn R Programming

phylosim (version 3.0.5)

getKappa.GY94: Get the transition/transversion rate ratio

Description

Get the transition/transversion rate ratio.

Usage

# S3 method for GY94
getKappa(this, ...)

Arguments

this

A GY94 object.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see GY94.

Examples

Run this code
# NOT RUN {
	# create a GY94 object
	p<-GY94()
	# set/get kappa
	setKappa(p,2)
	getKappa(p)
	# set/get kappa via virtual field
	p$kappa<-3
	p$kappa
 
# }

Run the code above in your browser using DataLab