G
Guest
Let's say a customer can eat 1,2, or 3 burgers and 1,2, or 3 sodas. I have counted like this
1 burgers , 1 soda : 10 peopl
1 burgers , 2 sodas: 5 peopl
1 burders, 3 sodas : 1 perso
...
3 burgers , 3 sodas: 15 peopl
How can I figure out the correlation coefficient of burgers and sodas? The correl() function expects each customer to be on its own line, whereas I have sums. In my actual case, the sums are thousands large
Do I have to work it out laboriously by hand?
1 burgers , 1 soda : 10 peopl
1 burgers , 2 sodas: 5 peopl
1 burders, 3 sodas : 1 perso
...
3 burgers , 3 sodas: 15 peopl
How can I figure out the correlation coefficient of burgers and sodas? The correl() function expects each customer to be on its own line, whereas I have sums. In my actual case, the sums are thousands large
Do I have to work it out laboriously by hand?