getParameterAtSite.Process: Get the value of a site-process specific paramter from a Site...

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the value of a site-process specific paramter from a Site object attached to a Process object. The Process object must be attached to the Site object.

Usage

1
2
## S3 method for class 'Process'
getParameterAtSite(this, site, id, ...)

Arguments

this

A Process object.

site

A Site object.

id

The identifier of the site-process specific parameter.

...

Not used.

Value

The site-process specific parameter, which is a list containing the following keys: id, name, value, type.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Process.

Examples

1
2
3
4
5
6
7
8
9
	# create a Site and a Process object
	a<-Alphabet()
	s<-Site(alphabet=a)
	p<-Process(alphabet=a)
	# attach the process
	attachProcess(s,p)
	# get the value of the rate multiplier
	getParameterAtSite(p,s,"rate.multiplier")
 

phylosim documentation built on May 19, 2017, 1:06 p.m.

Search within the phylosim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.