Learn R Programming

phylosim (version 3.0.5)

getProcesses.Site: Get the list of Process objects attached to a Site object

Description

Get the list of Process objects attached to a Site object.

Usage

# S3 method for Site
getProcesses(this, ...)

Arguments

this

A Site object.

...

Not used.

Value

A list of Process objects.

See Also

For more information see Site.

Examples

Run this code
# NOT RUN {
	# create a Site object with some processes attached
	s<-Site(alphabet=NucleotideAlphabet(),processes=list(K80(),JC69()))
	# get list of attached Process objects
	getProcesses(s)
	# get list of attached Process objects via virtual field
	s$processes
 
# }

Run the code above in your browser using DataLab