https://github.com/cran/spatstat
Revision 4fe059206e698a4b7135d792f3d533b173ecfe77 authored by Adrian Baddeley on 16 May 2012, 12:44:15 UTC, committed by cran-robot on 16 May 2012, 12:44:15 UTC
1 parent df59a11
Tip revision: 4fe059206e698a4b7135d792f3d533b173ecfe77 authored by Adrian Baddeley on 16 May 2012, 12:44:15 UTC
version 1.27-0
version 1.27-0
Tip revision: 4fe0592
npoints.Rd
\name{npoints}
\alias{npoints}
\alias{npoints.ppp}
\alias{npoints.pp3}
\alias{npoints.ppx}
\title{Number of Points in a Point Pattern}
\description{
Returns the number of points in a point pattern of any kind.
}
\usage{
npoints(x)
\method{npoints}{ppp}(x)
\method{npoints}{pp3}(x)
\method{npoints}{ppx}(x)
}
\arguments{
\item{x}{
A point pattern (object of class \code{"ppp"},
\code{"pp3"}, \code{"ppx"} or some other suitable class).
}
}
\value{
Integer.
}
\details{
This function returns the number of points in
a point pattern. The function \code{npoints} is generic
with methods for the classes \code{"ppp"}, \code{"pp3"},
\code{"ppx"} and possibly other classes.
}
\seealso{
\code{\link{ppp.object}},
\code{\link{print.pp3}},
\code{\link{print.ppx}}.
}
\examples{
data(cells)
npoints(cells)
}
\author{Adrian Baddeley
\email{Adrian.Baddeley@csiro.au}
\url{http://www.maths.uwa.edu.au/~adrian/}
and Rolf Turner
\email{r.turner@auckland.ac.nz}
}
\keyword{spatial}
\keyword{manip}
Computing file changes ...