
This function allows to rescale data 'x' so that 2 specific groups get normalized to predefined values (and all other values follow proportionally) 'grp1Num' and 'grp2Num' should be either numeric for positions in 'x' or character for names of 'x'; if 'grp1Num' and/or 'grp2Num' design mulitple locations: perform median or mean summarization, according to 'sumMeth'
.scaleSpecGrp(
x,
grp1Num,
grp1Val,
grp2Num = NULL,
grp2Val = NULL,
sumMeth = "mean",
callFrom = NULL
)
numeric vector
(numeric vector) main input
(numeric)
(numeric)
(numeric)
(numeric)
(character) method for summarizing
(character) allow easier tracking of messages produced