Learn R Programming

phylosim (version 3.0.5)

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

Description

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

Usage

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

Arguments

x

A ToleranceSubstitution object.

...

Not used.

Value

A character vector of length one.

See Also

For more information see ToleranceSubstitution.

Examples

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

Run the code above in your browser using DataLab