db.point.init {RGeostats}R Documentation

Create a Point Db

Description

Create a Point Db

Usage

db.point.init(ndim = 2, nech=100, db=NA, coormin = NA, coormax = NA, 
              range=1, beta=1, mode = 0, seed=122342)

Arguments

ndim

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

nech

Average number of points expected.

coormin

Vector of minimum coordinate along each space axis.

coormax

Vector of maximum coordinate along each space axis.

db

Auxiliary db-class organized as a Grid, which contains the variable intensity. If defined, the variable density is considered, otherwise a constant intensity is used for Poisson process.

flag.repulsion

When used, the repulsion process is hooked to the Poisson process. This secondary process uses arguments 'range' and 'beta'.

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".

seed

Seed used for the Random Number Generator.

Value

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


[Package RGeostats version 14.0.10 Index]