https://github.com/cran/Splancs
Raw File
Tip revision: eefec70e757b228217c01e59eb46e268318d5a0e authored by Roger Bivand on 12 June 2001, 00:00:00 UTC
version 2.01-3
Tip revision: eefec70
gen.Rd
\name{gen}
\alias{gen}
%- Also NEED an `\alias' for EACH other topic documented here.
\title{generate points in polygon}
\description{
  generates random points within a defined polygon, trying to reach \code{nptg}
points - used in \code{csr}.
}
\usage{
gen(poly, nptg)
}
%- maybe also `usage' for other objects documented here.
\arguments{
  \item{poly}{ ~~Describe \code{poly} here~~ }
  \item{nptg}{ ~~Describe \code{nptg} here~~ }
}

\value{
  returns a point object.
}
\references{
Rowlingson, B. and Diggle, P. 1993 Splancs: spatial point pattern analysis
code in S-Plus.  Computers and Geosciences, 19, 627-655;
the original sources can be accessed at:
\url{http://www.maths.lancs.ac.uk/~rowlings/Splancs/}. See also Bivand, R. and
Gebhardt, A. 2000 Implementing functions for spatial statistical analysis
using the R language. Journal of Geographical Systems, 2, 307-317.
}

\keyword{spatial}

\seealso{\code{\link{csr}} }


back to top