is.PSRoot: Check if an object inherits from PSRoot

Description Usage Arguments Value Author(s) See Also Examples

Description

Check if an object inherits from PSRoot.

Usage

1
2
## Default S3 method:
is.PSRoot(this, ...)

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PSRoot.

Examples

1
2
3
4
5
6
7
8
9
	# create some objects
	o<-PSRoot()
	a<-Alphabet()
	x<-Object()
	# check if they inherit form PSRoot
	is.PSRoot(o)
	is.PSRoot(a)
	is.PSRoot(x)
 

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