Learn R Programming

phylosim (version 3.0.5)

is.Event: Check whether an object inherits from the class Event

Description

Check whether an object inherits from the class Event.

Usage

# S3 method for default
is.Event(this, ...)

Arguments

this

An object.

...

Not used.

Value

TRUE or FALSE.

See Also

For more information see Event.

Examples

Run this code
# NOT RUN {
	# create some objects
	e<-Event(); a<-Alphabet()
	# check if they inherit from Event
	is.Event(e)
	is.Event(a)
 
# }

Run the code above in your browser using DataLab