hasSiteSpecificParameter.Process: Check if a Process object has the site-process specific...

Description Usage Arguments Value Author(s) See Also Examples

Description

Check if a Process object has the site-process specific parameter with the given id.

Usage

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

Arguments

this

A Process object.

id

The identifier of the site-process specific parameter of interest.

...

Not used.

Value

TRUE or FALSE.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Process.

Examples

1
2
3
4
5
6
7
	# create a process object
	p<-Process()
	# check whether it has the "rate.multiplier" site-process specific paramter
	hasSiteSpecificParameter(p,"rate.multiplier");	# TRUE
	# check whether it has the "omega" site-process specific paramter
	hasSiteSpecificParameter(p,"omega");	# FALSE
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.