search for: player3

Displaying 2 results from an estimated 2 matches for "player3".

Did you mean: player
2010 Apr 27
2
How to work out 3-way probabilities
...abilities for group of 2 players: p1 - probability, what player1 will beat player2 p2 - probability, what player2 will beat player1 pt - tie probability, p1 <- 1 - p1 - p2; Now i want to work out probabilities for group of 3 players, like: pg1 - probability, what player1 will beat player2 and player3 pg2 - probability, what player2 will beat player1 and player3 pg3 - probability, what player3 will beat player1 and player2 I have probabilities for every pair of players in that group. Is there a function in R, what can simply convert this 2-way probabilities in to the 3-way (or more)? Or can som...
2006 Apr 07
5
Confusion about has_many / belongs_to ...
I have a table called players and its model Player, and I have a table called games and its model Game. In the games table I have: player1_id int(11) player2_id int(11) I want the tables to be associated so that I can access the player objects using table.player1 and table.player2 rather than having to lookup the objects based on the ids. I am not sure how to go about this but I suspect I