setKappa.GY94: Set the transition/transversion rate ratio

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the transition/transversion rate ratio.

Usage

1
2
## S3 method for class 'GY94'
setKappa(this, value, ...)

Arguments

this

A GY94 object.

value

A numeric vector of length one.

...

Not used.

Value

The new value of kappa.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see GY94.

Examples

1
2
3
4
5
6
7
8
9
	# 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
 

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