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
 

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