FSA_aggregate {IDSL.FSA} | R Documentation |
aggregation method for FSA
Description
This module is to optimize the 'indexVec' variable by removing elements that have redundant 'idVec' numbers.
Usage
FSA_aggregate(idVec, variableVec, indexVec, targetVar)
Arguments
idVec |
a vector of id numbers. Repeated id numbers are allowed |
variableVec |
a vector of variable of the interest such as RT, m/z, etc. |
indexVec |
a vector of indices |
targetVar |
the targeted value in 'variableVec' |
Value
a clean indexVec after removing redundant 'idVec'.
[Package IDSL.FSA version 1.2 Index]