IPA_aggregate {IDSL.IPA} | R Documentation |
aggregation method for the IDSL.IPA modules
Description
This module is to optimize the 'indexVec' variable by removing elements that have redundant 'idVec' numbers.
Usage
IPA_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 repeated 'idVec'.
[Package IDSL.IPA version 2.9 Index]