ggfortify (version 0.4.7)

fortify.RasterCommon: Convert raster to data.frame

Description

Convert raster to data.frame

Usage

# S3 method for RasterCommon
fortify(model, data = NULL, maxpixels = 1e+05,
  rename = TRUE, ...)

Arguments

model

raster instances

data

original dataset, if needed

maxpixels

number of pixels for resampling

rename

logical flag indicating whether to rename coordinates to long and lat

...

other arguments passed to methods

Value

data.frame