Learn R Programming

spatstat (version 1.23-1)

runifpoint3: Generate N Uniform Random Points in Three Dimensions

Description

Generate a random point pattern containing n independent, uniform random points in three dimensions.

Usage

runifpoint3(n, domain = box3())

Arguments

n
Number of points to be generated.
domain
Three-dimensional box in which the process should be generated. An object of class "box3".

Value

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

Details

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

See Also

rpoispp3, pp3, box3

Examples

Run this code
X <- runifpoint3(50)

Run the code above in your browser using DataLab