addResults {GCDkit}R Documentation

Appending results to data

Description

Appends the most recently calculated results to the data stored in memory.

Usage

    addResults(what="results", save=TRUE, overwrite=TRUE, GUI=FALSE)

Arguments

what

character; the name of variable to be appended.

save

logical; Append to the data matrix 'WR'?

overwrite

logical; overwrite any matching items in the matrix 'WR'?

GUI

logical; Is the function called within the GUI environment?

Details

This function appends the variable 'results' (a matrix or vector) returned by most of the calculation algorithms to a the numeric data stored in the matrix 'WR'.

In case that any items of the same name are already present in the matrix 'WR', the user is asked whether they should be overwritten (GUI). In batch mode, they can be overwritten silently if 'overwrite=TRUE'.

Value

Modifies the matrix 'WR'.

Author(s)

Vojtěch Janoušek, vojtech.janousek@geology.cz

Examples

    data(sazava)
    accessVar("sazava")
    
    CIPW(WR)
    addResults()
    ternary("Ab","Q","Or")

[Package GCDkit version 6.1 Index]