Displaying 2 results from an estimated 2 matches for "maxlon".
Did you mean:
maxlen
2010 Nov 02
0
spatial plots maps-ssplot
...s, but when I try
this, the grids of the maps (smaller) do not overlap with the grids I
have already created with spplot(). I would like shaded gridboxes, the
boxes should be filled with colour. Can anyone help me with this
problem? Thank you in advance!
This is part of my code:
minlon<-4.5
maxlon<-12
minlat<-46.5
maxlat<-52.5
gt=GridTopology(cellcentre.offset=c(5.75,47.5),cellsize=c(2.5,2),cells.dim=c(3,3))
grd=SpatialGrid(gt,proj4string = CRS(as.character(NA)))
gridparameters(grd)
gd<-as.data.frame(grd,"SpatialGrid")
h<-season_djf
h<-as.data.frame(h)
djf.att=Sp...
2012 Jul 07
5
number of decimal places in a number?
Dear R users,
I need a function that gets a number and returns its number of actual decimal places.
For example f(3.14) should return 2, f(3.142) should return 3, f(3.1400) should also return 2
and so on. Is such function already available in R? If not, could you give me a hint how to achieve that?
Many thanks in advance.
-----------------------------------------------------------------