search for: kerry1912

Displaying 4 results from an estimated 4 matches for "kerry1912".

2012 Jan 30
2
And Statement for two if functions
I want to perform two if functions at the same time: if(home team > away team & home team <= away team + 7) in R but i am struggling to work out how to write this correctly. Thanks for any help. -- View this message in context: http://r.789695.n4.nabble.com/And-Statement-for-two-if-functions-tp4341179p4341179.html Sent from the R help mailing list archive at Nabble.com.
2012 Jan 17
2
Prediciting sports team scores
I am working on predicitng the scores for a days worth of matches of team sports. I have already collected data for the teams for the season we are concentrating on. I have been fitting poisson models for football games and have worked out what model is best and which predictor variables are most important. We would now like to predict the probability distribution for the scores for each team.
2012 Mar 05
1
Trouble with a loop
I am trying to run this loop but it keeps coming up with the following error: 'Error: no function to return from, jumping to top level' n.simul <- 1000 A <- {for(i in 1:12){{ nT <- rpois(n.simul, T[i]) nP <- rpois(n.simul, P[i]) nD <- rpois(n.simul, D[i]) nC <- rbinom(n.simul, nT, C[i]) Score <- (5*nT + 2*nC + 3*nP + 3*nD) } return(Score)}} My aim is to calculate
2011 Nov 29
1
Making the lines thicker in histogram
I'm using a histogram and want to overlay this onto a barplot. I need the histogram lines to be thicker in order for it to stand out more on top of the barplot. Is there a command in order to do this? Thanks in advance. -- View this message in context: http://r.789695.n4.nabble.com/Making-the-lines-thicker-in-histogram-tp4119639p4119639.html Sent from the R help mailing list archive at