db.point.init {RGeostats}R Documentation

Create a Point Db

Description

Create a Point Db

Usage

db.point.init(ndim = 2, density=1, db=NA, extend = NA, origin = NA, 
              range=1, beta=1, mode = "poisson", seed=122342, verbose=FALSE)

Arguments

ndim

Space Dimension. If 'origin" or 'extend' is provided, the dimension of this argument dictates the Space Dimension.

density

Average density of the Point Process. This parameter is used when 'mode' is set to "Poisson" or to "Poisthin".

extend

Vector of field extension along each space axis. This parameter is useless when argument 'db' is provided.

origin

Vector of field origin along each space axis. This parameter is useless when the argument 'db' is provided.

db

Auxiliary db-class organized as a Grid, which contains the variable intensity. It also serves to provide the field 'origin' and 'extension'.

range

Range for the repulsion function. The repulsion is given by the probability: P(r) = 1 / (1 + r^2)^beta when r stands for the distance normalized by the range. Only used when 'mode' is set to "Poisthin".

beta

Beta coefficient for the repulsion function. The repulsion is given by the probability: P(r) = 1 / (1 + r^2)^beta when r stands for the distance normalized by the range. Only used when 'mode' is set to "Poisthin".

mode

The Point Process is generated according to one of the following modes:

  • Poisson: Uniform distribution

  • Poisreg: Poisson process with Regionalized Intensity

  • PoisThin: Thinning Poisson Point process (repulsion)

seed

Seed used for the Random Number Generator.

verbose

Verbose flag

Value

The new Point db-class containing the newly generated samples.


[Package RGeostats version 11.2.12 Index]