setLogFile.PhyloSim: Set the name of the file used for logging

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the name of the file used for logging.

Usage

1
2
## S3 method for class 'PhyloSim'
setLogFile(this, value, ...)

Arguments

this

A PhyloSim object.

value

The name of the file used for logging.

...

Not used.

Value

The new logfile.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see PhyloSim.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
	# Create a PhyloSim object
	sim<-PhyloSim();
	# get the name of the log file
	getLogFile(sim)
	# modify log file name
	setLogFile(sim,"OldLog.txt")
	# get/set log file name via virtual field
	sim$logFile
	sim$logFile<-"NewLog"
	sim$logFile
 

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