[R] trying to find the multiple combinations...
Benjamin Sabatini
sunscape1 at hotmail.com
Fri Dec 8 07:37:37 CET 2017
Hi,
I'm trying to find a way to determine what multiples of the combination of three or more numbers equals a forth number.
So, if I had a number set like:
c(13.4689, 12.85212, 17.05071)
What combination and multiples of these numbers would average to 15.0078? (so, something that would tell me x, y, and z in (x*13.4689 + y*12.85212+ z*17.05071) / x+y+z) = 15.0078
I think this is doable with aggregate?
[[alternative HTML version deleted]]
More information about the R-help
mailing list