runifpointx

0th

Percentile

Generate N Uniform Random Points in Any Dimensions

Generate a random point pattern containing n independent, uniform random points in any number of spatial dimensions.

Keywords
spatial, datagen
Usage
runifpointx(n, domain)
Arguments
n
Number of points to be generated.
domain
Multi-dimensional box in which the process should be generated. An object of class "boxx".
Details

This function generates n independent random points, uniformly distributed in the multi-dimensional box domain.

Value

  • The simulated point pattern (an object of class "ppx").

See Also

rpoisppx, ppx, boxx

Aliases
  • runifpointx
Examples
w <- boxx(x=c(0,1), y=c(0,1), z=c(0,1), t=c(0,3))
   X <- runifpointx(50, w)
Documentation reproduced from package spatstat, version 1.25-1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.