Learn R Programming

phylosim (version 3.0.5)

hasUndefinedRate.GeneralInDel: Check whether the general rate of a GeneralInDel object is undefined

Description

Check whether the general rate of a GeneralInDel object is undefined.

Usage

# S3 method for GeneralInDel
hasUndefinedRate(this, ...)

Arguments

this

A GeneralInDel object.

...

Not used.

Value

TRUE or FALSE.

See Also

For more information see GeneralInDel.

Examples

Run this code
# NOT RUN {
	# create a GeneralInDel object
	o<-GeneralInDel()
	# check if the general rate is undefined
	hasUndefinedRate(o)
	# set general rate
	o$rate<-1
	# check rate again
	hasUndefinedRate(o)
 
# }

Run the code above in your browser using DataLab