setProcess.Event: Set the generator process for an Event object

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the generator process for an Event object.

Usage

1
2
## S3 method for class 'Event'
setProcess(this, new.proc, ...)

Arguments

this

An Event object.

new.proc

A valid Process object.

...

Not used.

Value

A Process object.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see Event.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
	# create an Event object
	e<-Event()
	# set a generator process for e
	setProcess(e,Process())
	# get generator process
	e$process
	# set process via virtual field
	e$process<-K80()
	e$process
 

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