Sets maximum data threshold for a variable object
Source:R/EVmaxThresholdSet.R
EVmaxThresholdSet.Rd
This function sets the maxmimum data threshold
Arguments
- EVFile
An Echoview file COM object
- acoVarName
(character) Echoview acoustic variable name
- thres
The new maximum threshold to be set (dB)
- colRng
maximum colour range possible for display settings. Set to NA if you want any colour range.
Value
a list object with two elements. $thresholdSettings: The new threshold settings; $msg vector of messages
Examples
if (FALSE) {
EVAppObj <- COMCreate('EchoviewCom.EvApplication')
EVFile <- EVOpenFile(EVAppObj,'~~/KAOS/KAOStemplate.EV')$EVFile
varObj <- EVAcoVarNameFinder(EVFile, "38 seabed and surface excluded")$EVVar
EVmaxThresholdSet(varObj, -30)
}