Re: [R-sig-Geo] plotting Football field ball pattern data

2009-01-30 Thread Robert Hijmans
Miguel, I am not entirely sure about what you need, but this might do it: #install.packages("raster", repos="http://R-Forge.R-project.org";) require(raster) # create a new raster. use additional arguments so that it matches your data (extreme x and y ) r <- newRaster(ncols=36, nrows=18) # I simu

Re: [R-sig-Geo] plotting Football field ball pattern data

2009-01-30 Thread Stéphane Dray
There are also some functions in the adehabitat package to plot/manage/analyze trajectories. You can have a look at the following paper: http://www.science-direct.com/science?_ob=ArticleURL&_udi=B7W63-4V28T4D-1&_user=10&_coverDate=12%2F02%2F2008&_rdoc=3&_fmt=high&_orig=browse&_srch=doc-info(%23

Re: [R-sig-Geo] plotting Football field ball pattern data

2009-01-30 Thread Barry Rowlingson
2009/1/30 Roger Bivand : > What is a "football graph/diagram"? A related question is 'What is football?'. This is an international list, so someone from the USA would play a very different football to a European, but a similar game to Rugby football, which is similar again to Gaelic football, no

Re: [R-sig-Geo] plotting Football field ball pattern data

2009-01-30 Thread Roger Bivand
On Fri, 30 Jan 2009, Miguel Eduardo Gil Biraud wrote: Hi, I was going to post a similar question as I am also a fresh new user of R. This isn't the same question, so the threads are crossed now ... In my case I have between 10 million and 20 million latitude, longitude pairs and want to ge

Re: [R-sig-Geo] plotting Football field ball pattern data

2009-01-30 Thread Roger Bivand
On Fri, 30 Jan 2009, srinivasa raghavan wrote: Hi r-sig-geo team, I am a new user of R 2.8.1 in windows 2003. I have a data set of football ball pattern data. The data is for multiple matches. The variables are : match: The code number of the match. period: First half or second half denotted b

Re: [R-sig-Geo] plotting Football field ball pattern data

2009-01-29 Thread Miguel Eduardo Gil Biraud
Hi, I was going to post a similar question as I am also a fresh new user of R. In my case I have between 10 million and 20 million latitude, longitude pairs and want to get an image in which each pixel has a color that is a function of the amount of positions that would fall into the spatial bin

[R-sig-Geo] plotting Football field ball pattern data

2009-01-29 Thread srinivasa raghavan
Hi r-sig-geo team, I am a new user of R 2.8.1 in windows 2003. I have a data set of football ball pattern data. The data is for multiple matches. The variables are : match: The code number of the match. period: First half or second half denotted by 1 or 2. pitchX: The x co-ordinate of the field.