Displaying 1 result from an estimated 1 matches for "prop3".
Did you mean:
pop3
2012 Nov 21
1
Finding a max
My data looks like this:
X Y1(X) Y2(X)
i want to find the values of x that maximize Y1 and Y2.
Right now I'm getting the answer but I would like to know if there is a
more efficient/elegant way of doing this.
This code reproduces what I'm doing:
[code]
prop3<-structure(list(effort = c(0, 0.008989899, 0.017979798, 0.026969697,
0.035959596, 0.044949495, 0.053939394,
0.062929293, 0.071919192,
0.080909091, 0.08989899, 0.098888889,
0.107878788, 0.116868687,
0.125858586, 0.13484...