Vectorized function to efficiently extract elements from scoring matrix of type data.frame
extractFromScoringMatrix(
ScoringFrame,
grainType1,
grainType2,
profile_handle = NULL
)
Scoring matrix of type data.frame (needs to be of symmetric, matrix like format)
character vector (yes, vector!) of grain type contained in ScoringFrame
same as grainType1
character or numeric handle that links a potential warning message to the set of grain types, if an unknown grain type is encountered (must be of length = 1)
numeric vector of length grainType1
with the elements of ScoringFrame
that are defined by grainType1
and grainType2