getType.BrownianInsertor: Get the type of the BrownianInsertor process

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the type of the BrownianInsertor process.

If type is discrete, than the process inherits from DiscreteInsertor. If the type is continuous, then the object inherits from ContinuousInsertor.

Usage

1
2
## S3 method for class 'BrownianInsertor'
getType(this, ...)

Arguments

this

A BrownianInsertor object.

...

Not used.

Value

A character vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see BrownianInsertor.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
	p<-BrownianInsertor(type="discrete")
	# get type
	getType(p)
	# get upstream classes
	class(p)
	p<-BrownianInsertor(type="continuous")
	# get type via virtual field
	p$type
	# get upstream classes
	class(p)
 

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