Convert sp instances to data.frame.

# 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