File: raster.R

package info (click to toggle)
r-cran-spacetime 1.3-3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,240 kB
  • sloc: sh: 13; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 196 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
library(spacetime)
if (require(raster, quietly = TRUE)) {
 x <- brick(system.file("external/rlogo.grd", package="raster"))
 x <- setZ(x, as.Date(1:nlayers(x), origin = "1970-01-01"))
 stplot(x)
}