[R] trying to find the multiple combinations...

Jeff Newmiller jdnewmil at dcn.davis.ca.us
Fri Dec 8 09:19:30 CET 2017


Solve for one of your variables and it will be given in terms of the other two. That is, there is a whole infinite plane of solutions. No, aggregate will not be sufficient to enumerate the solution set.. 
-- 
Sent from my phone. Please excuse my brevity.

On December 7, 2017 10:37:37 PM PST, Benjamin Sabatini <sunscape1 at hotmail.com> wrote:
>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]]

This is a plain text mailing list. Please learn how to use your email program. 

>
>______________________________________________
>R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list