ps_raster_to_df: Convert raster to data.frame

Description Usage Arguments Value

View source: R/basemap.R

Description

Convert raster to data.frame

Usage

1

Arguments

x

A raster object.

Value

A data.frame object which can be plotted using: ggplot2::geom_point(data = x, aes(x = x, y = y, col = rgb(layer.1/255, layer.2/255, layer.3/255))).


poissonconsulting/poisspatial documentation built on Oct. 5, 2018, 2:16 p.m.