File: raster.R

package info (click to toggle)
r-cran-spacetime 1.2-4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,308 kB
  • sloc: sh: 13; makefile: 2
file content (5 lines) | stat: -rw-r--r-- 168 bytes parent folder | download
1
2
3
4
5
library(spacetime)
library(raster)
x <- brick(system.file("external/rlogo.grd", package="raster"))
x <- setZ(x, as.Date(1:nlayers(x), origin = "1970-01-01"))
stplot(x)