runifspp: Generate uniformly distributed point pattern on sphere

Description Usage Arguments Value Examples

Description

Generate uniformly distributed point pattern on sphere

Usage

1
runifspp(n, domain = NULL, nsim = 1, ..., drop = TRUE)

Arguments

n

Number of points to generate. Either a single positve integer or a vector of integers of length nsim indicating the number of points in each of the nsim generated patterns.

domain

Object of class "sphericaldomain".

nsim

Number of simulated realisations to be generated.

...

Arguments passed to sphere if the domain is not otherwise specified.

drop

Logical. If nsim=1 and drop=TRUE (the default), the result will be a spherical point pattern, rather than a list containing a spherical point pattern.

Value

Spherical point pattern of class "spp".

Examples

1

rubak/spatstatsphere documentation built on May 28, 2019, 9:56 a.m.