setRate.GeneralInDel: Set the general rate

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the general rate.

Usage

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

Arguments

this

A GeneralInDel object.

value

The new general rate (a numeric vector of length one).

...

Not used.

Value

The new general rate.

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.