1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fortify-spatial.R
\name{fortify.sp}
\alias{fortify.sp}
\alias{fortify.SpatialPolygonsDataFrame}
\alias{fortify.SpatialPolygons}
\alias{fortify.Polygons}
\alias{fortify.Polygon}
\alias{fortify.SpatialLinesDataFrame}
\alias{fortify.Lines}
\alias{fortify.Line}
\title{Fortify method for classes from the sp package.}
\usage{
\method{fortify}{SpatialPolygonsDataFrame}(model, data, region = NULL, ...)
\method{fortify}{SpatialPolygons}(model, data, ...)
\method{fortify}{Polygons}(model, data, ...)
\method{fortify}{Polygon}(model, data, ...)
\method{fortify}{SpatialLinesDataFrame}(model, data, ...)
\method{fortify}{Lines}(model, data, ...)
\method{fortify}{Line}(model, data, ...)
}
\arguments{
\item{model}{\code{SpatialPolygonsDataFrame} to convert into a dataframe.}
\item{data}{not used by this method}
\item{region}{name of variable used to split up regions}
\item{...}{not used by this method}
}
\description{
To figure out the correct variable name for region, inspect
\code{as.data.frame(model)}.
}
\keyword{internal}
|