search for: biggest_difference

Displaying 1 result from an estimated 1 matches for "biggest_difference".

2011 Oct 17
1
compressing/reducing data for plot
...ow(data),]); # normalize the differences according to the value range in their column col.range = apply(data,2, function(d) {abs(max(d) - min(d))}); normalized_diffs <- t(apply(diffs, 1, function(d) {d/col.range})); rm("col.range"); # get the "biggest difference" in each row biggest_difference <- as.vector(apply(normalized_diffs,1, max)); # check if the "biggest difference" is above the threshold - # that means the row is "significant" in a plot signif <- biggest_difference >= threshold; rm("biggest_difference"); # the last datapoint/row is always...