Skip to content
Prev 105731 / 398503 Next

making a grid of points

On Thu, 7 Dec 2006, Ross Boylan wrote:

            
Which "space" are your points in? The sp package might help if the data 
are spatial/geographical, but I think that expand.grid() is your friend, 
followed by one of the apply() family to run your function on each row of 
the data frame output by expand.grid().

Roger