Learn R Programming

phylosim (version 3.0.5)

getName.Event: Get the name of an Event object

Description

Get the name of an Event object.

Usage

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

Arguments

this

An event object.

...

Not used.

Value

A character vector of length one.

See Also

For more information see Event.

Examples

Run this code
# NOT RUN {
	# create an Event object
	e<-Event(name="MyEvent")
	# get event name
	getName(e)
	# get name via virtual field
	e$name
 
# }

Run the code above in your browser using DataLab