Convert raster to data.frame

# S3 method for class '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