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

Share:

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")
 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.