runiflpp {spatstat} | R Documentation |
Generates n random points, independently and uniformly distributed, on a linear network.
runiflpp(n, L)
n |
Number of random points to generate. A nonnegative integer. |
L |
A linear network (object of class |
This function uses runifpointOnLines
to generate the random points.
A point pattern on the linear network,
i.e.\ an object of class "lpp"
.
Ang Qi Wei aqw07398@hotmail.com and Adrian Baddeley Adrian.Baddeley@csiro.au http://www.maths.uwa.edu.au/~adrian/
data(simplenet) X <- runiflpp(10, simplenet) plot(X)