Learn R Programming

phylosim (version 3.0.5)

getProcess.Event: Get the Process object which generated an Event object

Description

Get the Process object which generated an Event object.

Usage

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

Arguments

this

An Event object.

...

Not used.

Value

A Process object.

See Also

For more information see Event.

Examples

Run this code
# NOT RUN {
	# create a sequence and attach a process
	s<-NucleotideSequence(string="ATGC",processes=list(list(JC69())))
	# get the first active event from the first site
	e<-s$sites[[1]]$events[[1]]
	# get the generator process for e
	e$process
 
# }

Run the code above in your browser using DataLab