detachProcess.Site: Site

Description Usage Arguments Value Author(s) See Also Examples

Description

Site. The site-process specific parameters stored in the Site object and belonging to the detached Process objects will be destroyed.

Usage

1
2
## S3 method for class 'Site'
detachProcess(this, process, ...)

Arguments

this

A Site object

process

A Process object

...

Not used.

Value

The Site object (invisible).

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Site.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
	# create a Site objects and attach some processes
	s<-Site()
	s$alphabet<-NucleotideAlphabet()
	p1<-JC69(); p2<-K80()
	attachProcess(s,p1)
	attachProcess(s,p2)
	# get the list of attached processes
	s$processes
	# detach p1
	detachProcess(s,p1)
	s$processes
 

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