fortify.SpatialCommon: Convert 'sp' instances to 'data.frame'.

View source: R/fortify_spatial.R

fortify.SpatialCommonR Documentation

Convert sp instances to data.frame.

Description

Convert sp instances to data.frame.

Usage

## S3 method for class 'SpatialCommon'
fortify(model, data = NULL, rename = TRUE, ...)

Arguments

model

sp instances

data

original dataset, if needed

rename

logical flag indicating whether to rename coordinates to long and lat

...

other arguments passed to methods

Value

data.frame


sinhrks/ggfortify documentation built on March 30, 2024, 1:55 a.m.