% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sp.R \name{sp_tidiers} \alias{sp_tidiers} \alias{tidy.SpatialPolygonsDataFrame} \alias{tidy.SpatialPolygons} \alias{tidy.Polygons} \alias{tidy.Polygon} \alias{tidy.SpatialLinesDataFrame} \alias{tidy.Lines} \alias{tidy.Line} \title{Tidy a(n) SpatialPolygonsDataFrame object} \usage{ \method{tidy}{SpatialPolygonsDataFrame}(x, region = NULL, ...) \method{tidy}{SpatialPolygons}(x, ...) \method{tidy}{Polygons}(x, ...) \method{tidy}{Polygon}(x, ...) \method{tidy}{SpatialLinesDataFrame}(x, ...) \method{tidy}{Lines}(x, ...) \method{tidy}{Line}(x, ...) } \arguments{ \item{x}{A \code{SpatialPolygonsDataFrame}, \code{SpatialPolygons}, \code{Polygons}, \code{Polygon}, \code{SpatialLinesDataFrame}, \code{Lines} or \code{Line} object.} \item{region}{name of variable used to split up regions} \item{...}{not used by this method} } \description{ Tidy summarizes information about the components of a model. A model component might be a single term in a regression, a single hypothesis, a cluster, or a class. Exactly what tidy considers to be a model component varies across models but is usually self-evident. If a model has several distinct types of components, you will need to specify which components to return. Note that the \code{sf} package now defines tidy spatial objects and is the recommended approach to spatial data. \code{sp} tidiers are now deprecated in favor of \code{sf::st_as_sf()} and coercion methods found in other packages. See \url{https://r-spatial.org/r/2023/05/15/evolution4.html} for more on migration from retiring spatial packages. }