Learn R Programming

phylosim (version 3.0.5)

setKappa.GY94: Set the transition/transversion rate ratio

Description

Set the transition/transversion rate ratio.

Usage

# S3 method for GY94
setKappa(this, value, ...)

Arguments

this

A GY94 object.

value

A numeric vector of length one.

...

Not used.

Value

The new value of kappa.

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