Learn R Programming

phylosim (version 3.0.5)

getRate.GeneralInDel: Get the general rate

Description

Get the general rate.

Usage

# S3 method for GeneralInDel
getRate(this, ...)

Arguments

this

A GeneralInDel object.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see GeneralInDel.

Examples

Run this code
# NOT RUN {
	# 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
 
# }

Run the code above in your browser using DataLab