R: Convert 'sp' instances to 'data.frame'.

fortify.SpatialCommon {ggfortify} | R 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

[Package ggfortify version 0.4.1 Index]