Learn R Programming

phylosim (version 3.0.5)

getName.PhyloSim: Get the name of a PhyloSim object

Description

Get the name of a PhyloSim object.

Usage

# S3 method for PhyloSim
getName(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();
	# set/get name
	setName(o,"MySim");
	getName(o,"MySim");
	# set/get name via virtual field
	o$name<-"George";
	o$name
 
# }

Run the code above in your browser using DataLab