fortify.RasterCommon: Convert 'raster' to 'data.frame'

View source: R/fortify_raster.R

fortify.RasterCommonR Documentation

Convert raster to data.frame

Description

Convert raster to data.frame

Usage

## 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


ggfortify documentation built on May 29, 2024, 7:19 a.m.