FSA_aggregate: aggregation method for FSA

View source: R/FSA_aggregate.R

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


IDSL.FSA documentation built on July 9, 2023, 6:45 p.m.