Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

phylosim (version 3.0.5)

as.character.GeneralSubstitution: Return the character representation of a GeneralSubstitution object

Description

Return the character representation of a GeneralSubstitution object. The character representation is the object id as returned by the getId.Process method defined in the parent class.

Usage

# S3 method for GeneralSubstitution
as.character(x, ...)

Arguments

x

A GeneralSubstitution object.

...

Not used.

Value

A character vector of length one.

See Also

For more information see GeneralSubstitution.

Examples

Run this code
# NOT RUN {
	# create a GeneralSubstitution object
	p<-GeneralSubstitution(name="MySubst")
	# get character representation
	as.character(p)
	# the same implicitly
	p
 
# }

Run the code above in your browser using DataLab