IPA_aggregate: aggregation method for the IDSL.IPA modules

View source: R/IPA_aggregate.R

IPA_aggregateR 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'.


IDSL.IPA documentation built on June 7, 2023, 6:01 p.m.