Learn R Programming

phylosim (version 3.0.5)

getId.PhyloSim: Get the unique identifier of a PhyloSim object

Description

Get the unique identifier of a PhyloSim object. The unique identifier is the concatenation of the class, the object name as returned by getName() and the object hash as returned by hashCode().

Usage

# S3 method for PhyloSim
getId(this, ...)

Arguments

this

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 id
	getId(o);
	# get id via virtual field
	o$id;
 
# }

Run the code above in your browser using DataLab