is.GeneralInDel: Check if an object inherits from the GeneralInDel class

Description Usage Arguments Value Author(s) Examples

Description

Check if an object inherits from the GeneralInDel class.

Usage

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

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE.

Author(s)

Botond Sipos, Gregory Jordan

Examples

1
2
3
4
5
6
7
	# create some objects
	o<-GeneralInDel(rate=1, propose.by=function(process){sample(c(1:10),1)});
	x<-GTR()
	# check if they inherit from GeneralInDel
	is.GeneralInDel(o)
	is.GeneralInDel(x)
 

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