spotWriteBest: Spot Write Best

Description

Helper function that simply writes data to the .bst-file (appending or creating - depends on the existence of the .bst-file)

Usage

1
spotWriteBest(B, spotConfig)

Arguments

B

matrix containing the merged result data of the current SPOT run

spotConfig

all parameters, the ones of interest are:
the name of the file for the best-data to be stored in: spotConfig$io.bstFileName
the name string of the result column: spotConfig$alg.resultColumn
the boolean that specifies if files are actually used or not: spot.fileMode
the data frame that will be extended with the current best: alg.currentBest

Details

Result/Effects: adds one row to the best file and the alg.currentBest data frame.

Value

returns the spotConfig list with a new row in spotConfig$alg.currentBest


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.