Top "Raster" questions

A rectangular array of pixels.

How to set use ggplot2 to map a raster

I would like to make a plot using R studio similar to the one below (created in Arc Map) I …

r plot ggplot2 raster gplots
How to create a raster from a data frame in r?

I have a data frame in which values (l) are specified for Cartesian coordinates (x, y) as in the following …

r raster
R: How to extract dates from a time series

How can I extract dates from a times series? Here is a time series: x = seq (1, 768) myts <- ts(…

r date time-series raster
Reading an ASC file into R

I'm currently trying to extract information from various "ASC" files into R in order to perform analysis on the data. …

r import raster
How to change the resolution of a raster layer in R

I have several high resolution raster layers in R that I am working with. The level of detail is excessive …

r resolution raster utm
Merging multiple rasters in R

I've been trying to find a time-efficient way to merge multiple raster images in R. These are adjacent ASTER scenes …

r merge geospatial raster satellite-image
How to Replace Raster Values Less than 0 to NA in R code

I am working with Landsat imagery to calculate net radiation. There are very low negative values (ex: -0.000003) that are …

r raster na
What is the simplest RGB image format?

I am working in C on a physics experiment, Young's interference experiment and i made a program who prints to …

c image raster
Clipping raster using shapefile in R, but keeping the geometry of the shapefile

I am using {raster} to clip (or crop) a raster based on an irregular shapefile (the Amazon biome) but the …

r crop raster shapefile clip
convert matrix to raster in R

I have a matrix data with spatial coordinates and one variable. The spatial resolution is 1000 meters. > str(dat1) > …

r matrix spatial raster