EVAddVariable: Add a variable to an Echoview file

View source: R/EVAddVariable.R

EVAddVariableR Documentation

Add a variable to an Echoview file

Description

This function adds an Echoview variable to an existing Echoview file. The variable is added by specifying the existing variable to which the new variable is added and the new variable type.

Usage

EVAddVariable(EVFile, acoVarName, EOperator, addedVarName = NULL)

Arguments

EVFile

Echoview file COM object

acoVarName

The acoustic variable name to which a new variable will be added.

EOperator

The 'EOperator' number of the variable to add. See notes

addedVarName

=NULL. Name of the added variable.

Details

The new variable type is specifed using the variable-specific 'EOperator' integer. For example, the 'Ping subset' operator 'EOperator' is 62. See Echoview help for details.

Value

list with three elements: $varObj acoustic variable COM object; $objName new name of the variable object;$msg message vector

Note

This function is under development. We hope to add an 'EOperator' look up table sp that the type of variable to add can be specified by its character name, rather than 'EOperator'

Author(s)

Martin Cox

References

http://support.echoview.com/WebHelp/Echoview.htm/

See Also

EVAcoVarNameFinder


AustralianAntarcticDivision/EchoviewR documentation built on Aug. 21, 2023, 6:56 p.m.