] On
Behalf Of Hans W Borchers
Sent: Monday, February 28, 2011 2:17 PM
To: r-h...@stat.math.ethz.ch
Subject: Re: [R] Finding pairs with least magnitude difference from mean
rex.dwyer at syngenta.com writes:
James,
It seems the 2*mean(x) term is irrelevant if you are seeking to
minimize sd
pairs with least magnitude difference from mean
I have what I think is some kind of linear programming question.
Basically, what I want to figure out is if I have a vector of numbers,
x - rnorm(10)
x
[1] -0.44305959 -0.26707077 0.07121266 0.44123714 -1.10323616
-0.19712807 0.20679494
rex.dwyer at syngenta.com writes:
James,
It seems the 2*mean(x) term is irrelevant if you are seeking to
minimize sd. Then you want to sort the distances from smallest to
largest. Then it seems clear that your five values will be adjacent in
the list, since if you have a set of five
I have what I think is some kind of linear programming question.
Basically, what I want to figure out is if I have a vector of numbers,
x - rnorm(10)
x
[1] -0.44305959 -0.26707077 0.07121266 0.44123714 -1.10323616
-0.19712807 0.20679494 -0.98629992 0.97191659 -0.77561593
mean(x)
Hi,
I have what I think is some kind of linear programming question.
Basically, what I want to figure out is if I have a vector of numbers,
x - rnorm(10)
x
[1] -0.44305959 -0.26707077 0.07121266 0.44123714 -1.10323616
-0.19712807 0.20679494 -0.98629992 0.97191659 -0.77561593
mean(x)
5 matches
Mail list logo