Debian Codegraph @

man/sp_tidiers.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/sp.R
3 \name{sp_tidiers}
4 \alias{sp_tidiers}
5 \alias{tidy.SpatialPolygonsDataFrame}
6 \alias{tidy.SpatialPolygons}
7 \alias{tidy.Polygons}
8 \alias{tidy.Polygon}
9 \alias{tidy.SpatialLinesDataFrame}
10 \alias{tidy.Lines}
11 \alias{tidy.Line}
12 \title{Tidy a(n) SpatialPolygonsDataFrame object}
13 \usage{
14 \method{tidy}{SpatialPolygonsDataFrame}(x, region = NULL, ...)
15
16 \method{tidy}{SpatialPolygons}(x, ...)
17
18 \method{tidy}{Polygons}(x, ...)
19
20 \method{tidy}{Polygon}(x, ...)
21
22 \method{tidy}{SpatialLinesDataFrame}(x, ...)
23
24 \method{tidy}{Lines}(x, ...)
25
26 \method{tidy}{Line}(x, ...)
27 }
28 \arguments{
29 \item{x}{A \code{SpatialPolygonsDataFrame}, \code{SpatialPolygons}, \code{Polygons},
30 \code{Polygon}, \code{SpatialLinesDataFrame}, \code{Lines} or \code{Line} object.}
31
32 \item{region}{name of variable used to split up regions}
33
34 \item{...}{not used by this method}
35 }
36 \description{
37 Tidy summarizes information about the components of a model.
38 A model component might be a single term in a regression, a single
39 hypothesis, a cluster, or a class. Exactly what tidy considers to be a
40 model component varies across models but is usually self-evident.
41 If a model has several distinct types of components, you will need to
42 specify which components to return.
43
44 Note that the \code{sf} package now defines tidy spatial objects
45 and is the recommended approach to spatial data. \code{sp} tidiers are now
46 deprecated in favor of \code{sf::st_as_sf()} and coercion methods found in
47 other packages. See
48 \url{https://r-spatial.org/r/2023/05/15/evolution4.html} for more on
49 migration from retiring spatial packages.
50 }