getRate.GeneralInDel: Get the general rate

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the general rate.

Usage

1
2
## S3 method for class 'GeneralInDel'
getRate(this, ...)

Arguments

this

A GeneralInDel object.

...

Not used.

Value

A numeric vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see GeneralInDel.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
	# create a GeneralInDel object
	o<-GeneralInDel(rate=0.5)
	# get/set general rate
	getRate(o)
	setRate(o, 1.5)
	# get/set rate via virtual field
	o$rate
	o$rate<-0.3
	o$rate
 

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