setName.PhyloSim: Set the name of a PhyloSim object

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the name of a PhyloSim object.

Usage

1
2
## S3 method for class 'PhyloSim'
setName(this, new.name, ...)

Arguments

this

A PhyloSim object.

new.name

A character vector of length one.

...

Not used.

Value

The new name.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PhyloSim.

Examples

1
2
3
4
5
6
7
8
9
	# 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
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.