Uniform Random Points on a Linear Network
Generates n random points, independently and uniformly distributed, on a linear network.
runiflpp(n, L, nsim=1, drop=TRUE)
| n | Number of random points to generate. A nonnegative integer, or a vector of integers specifying the number of points of each type. | 
| L | A linear network (object of class  | 
| nsim | Number of simulated realisations to generate. | 
| drop | Logical value indicating what to do when  | 
This function uses runifpointOnLines
to generate the random points.
If nsim = 1 and drop=TRUE,
a point pattern on the linear network,
i.e.\ an object of class "lpp".
Otherwise, a list of such point patterns.
Ang Qi Wei aqw07398@hotmail.com and Adrian Baddeley Adrian.Baddeley@curtin.edu.au
data(simplenet) X <- runiflpp(10, simplenet) plot(X) # marked Z <- runiflpp(c(a=10, b=3), simplenet)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.