\HeaderA{SpatialPoints-class}{Class "SpatialPoints" ~~~}{SpatialPoints.Rdash.class}
\aliasA{as.data.frame.SpatialPoints}{SpatialPoints-class}{as.data.frame.SpatialPoints}
\aliasA{coerce,SpatialPoints,data.frame-method}{SpatialPoints-class}{coerce,SpatialPoints,data.frame.Rdash.method}
\aliasA{coerce,SpatialPoints,matrix-method}{SpatialPoints-class}{coerce,SpatialPoints,matrix.Rdash.method}
\aliasA{plot.SpatialPoints}{SpatialPoints-class}{plot.SpatialPoints}
\aliasA{print.SpatialPoints}{SpatialPoints-class}{print.SpatialPoints}
\aliasA{show,SpatialPoints-method}{SpatialPoints-class}{show,SpatialPoints.Rdash.method}
\aliasA{summary.SpatialPoints}{SpatialPoints-class}{summary.SpatialPoints}
\aliasA{[,SpatialPoints-method}{SpatialPoints-class}{[,SpatialPoints.Rdash.method}
\keyword{classes}{SpatialPoints-class}
\begin{Description}\relax
Class for (irregularly spaced) points
\end{Description}
\begin{Section}{Objects from the Class}
Objects can be created by calls of the form \code{SpatialPoints(x)}.
\end{Section}
\begin{Section}{Slots}
\describe{
\item[\code{coords}:] Object of class \code{"matrix"}, containing the
coordinates (each row is a point) 
\item[\code{bbox}:] Object of class \code{"matrix"}, with bounding box 
\item[\code{proj4string}:] Object of class \code{"CRS"}, projection string 
}
\end{Section}
\begin{Section}{Extends}
Class \code{"Spatial"}, directly.
\end{Section}
\begin{Section}{Methods}
\describe{
\item[[] \code{signature(x = "SpatialPoints")}: subsets the points; only
rows can be subsetted 
\item[coerce] \code{signature(from = "SpatialPoints", to = "data.frame")}: 
retrieves the data part
\item[coerce] \code{signature(from = "data.frame", to = "SpatialPoints")}: sets
coordinates, which may be in a data frame 
\item[coerce] \code{signature(from = "matrix", to = "SpatialPoints")}: set
coordinates, which may be in a matrix 
\item[coordinates] \code{signature(obj = "SpatialPoints")}: retrieves
the coordinates, as matrix 
\item[plot] \code{signature(x = "SpatialPoints")}: plot point symbols
\item[points] \code{signature(x = "SpatialPoints")}: add point symbols to plot
\item[show] \code{signature(object = "SpatialPoints")}: prints coordinates 
}
\end{Section}
\begin{Note}\relax
\end{Note}
\begin{Author}\relax
Edzer J. Pebesma, \email{e.pebesma@geo.uu.nl}
\end{Author}
\begin{References}\relax
~put references to the literature/web site here ~
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{SpatialPointsDataFrame-class}{SpatialPointsDataFrame.Rdash.class}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
x = c(1,2,3,4,5)
y = c(3,2,5,1,4)
S <- SpatialPoints(cbind(x,y))
S <- SpatialPoints(list(x,y))
S <- SpatialPoints(data.frame(x,y))
S
plot(S)
\end{ExampleCode}
\end{Examples}

