getRate.Event: Get the rate of an Event object

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the rate of an Event object.

Usage

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

Arguments

this

An Event object.

...

Not used.

Value

A numeric vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Event.

Examples

1
2
3
4
5
6
7
	# create an Event object
	e<-Event(rate=0.1)
	# get rate
	getRate(e)
	# get rate via virtual field
	e$rate
 


Search within the phylosim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.