Learn R Programming

phylosim (version 3.0.5)

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

Description

Return the character representation of a PhyloSim object.

The character representation is the identifier of the PhyloSim object as returned by the getId method.

Usage

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

Arguments

x

A PhyloSim object.

...

Not used.

Value

A character vector of length one.

See Also

For more information see PhyloSim.

Examples

Run this code
# NOT RUN {
	# create a PhyloSim object
	o<-PhyloSim(name="MySim");
	# get character representation
	as.character(o)
 
# }

Run the code above in your browser using DataLab