grd <- list(lat=seq(63,67,length=30),lon=seq(-28,-10,length=50))
# a list with length(lat) = 30 and length(lon) = 50
grd1<- geoexpand(grd)
# a 30 by 50 dataframe made.
# See also examples in geocontour.
Run the code above in your browser using DataLab