Learn R Programming

phylosim (version 3.0.5)

getRate.Event: Get the rate of an Event object

Description

Get the rate of an Event object.

Usage

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

Arguments

this

An Event object.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see Event.

Examples

Run this code
# NOT RUN {
	# create an Event object
	e<-Event(rate=0.1)
	# get rate
	getRate(e)
	# get rate via virtual field
	e$rate
 
# }

Run the code above in your browser using DataLab