Re: [R] Urgent help needed for honours project - breaks between races in one year

2011-10-06 Thread Steve Taylor
This might help: if x is a vector of the race days then max(diff(sort(x))) finds the biggest gap between consecutive values. >>> From: "Jana.K" To: Date: 7/Oct/2011 4:47a Subject: [R] Urgent help needed for honours project - breaks between races in one year Hi to anyon

[R] Urgent help needed for honours project - breaks between races in one year

2011-10-06 Thread Jana.K
Hi to anyone who is willing to help, I have a csv. file which has 1999 horses as the rows and the age(in years) of the horse at each race as columns. Ive read this file into R and called it 'horses'. Im trying to find the longest break between each race in the horse's first year of racing. I alrea

Re: [R] urgent Help needed

2011-07-19 Thread Paul Hiemstra
On 07/19/2011 04:40 AM, Ana-Maria Pistea wrote: > >>> B Hi Ana-Maria, A quick google for you error message shows that there can be quite a number of causes for this problem. Therefore it is impossible for us to help you. Please read the R-help posting guide to improve your question [1]. The most

[R] urgent Help needed

2011-07-19 Thread Ana-Maria Pistea
Dear Sir, Please help me to open my rda files. It's urgent to see the content and even if I looked for solutions i didn't find one. When I try to load my .rda file I receive this message: "R> load(file = "SpecPhantomExp2WaterSupp Set2.rda") Error: bad restore file magic number (file may be corrup