1 / 7

Raster and R

Raster and R. Building and Visualizing. What is Raster Data?. A rectangular grid containing pixels. Each pixel contains a value Value is represented by a color. Raster space-time plots. Raster Stacks & Bricks Multidimensional raster objects Multi-layer ( red,green,blue )

durin
Download Presentation

Raster and R

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Raster and R Building and Visualizing

  2. What is Raster Data? • A rectangular grid containing pixels. • Each pixel contains a value • Value is represented by a color.

  3. Raster space-time plots • Raster Stacks & Bricks • Multidimensional raster objects • Multi-layer (red,green,blue) • Multi-dim (time series, multi variable) stack[row# ,col#, Z#] Y Z X

  4. Raster space-time plots • Multi-dimentional Raster Stack • Good for time-series of rasters, or multivariate analysis Time Series stack[x,y, c(cwd2010) ] Y CWD 2010 By Month X

  5. Setup Raster Stack Data grep() Helpful Functions dir() grep(‘a’, c( ‘a’, ‘b’, ‘c’, ‘a’ ) ) dir(‘your//Data//Location’) grep(‘c’, c( ‘tab’, ‘car’, ‘bat’ ) )

  6. Create Raster Stacks and Assign Name Labels paste() names() names(rstack) = c(Jan’,’Feb’) Helpful Functions paste(c(‘Jan',‘Feb', ‘Mar‘...), sep=' ') Y Feb X Jan

  7. Sources • Information for the Raster package from cran created by Robert Hijmans • RasterVis package Github created by OscarLamiguero. • And Mike Mann in Geography Department

More Related