ggfortify (version 0.4.11)

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

Description

Convert sp instances to data.frame.

Usage

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