HRStrauss: Hastings ratio for the Strauss model

Description Usage Arguments Details Value Author(s)

View source: R/HRStrauss.R

Description

Function used for calculating the hastings ratio used for simulation with the Metropolis-Hastings algorithm, rStrauss.

Usage

1
HRStrauss(x, x_prop, xi, h, beta, gamma, R, birth = TRUE)

Arguments

x

A point pattern of class pp3.

x_prop

A point proposed to be added to the point pattern.

xi

A point in x.

h

The hardcore parameter.

beta

The intensity parameter.

gamma

The interaction parameter.

R

The interactionradius parameter.

birth

A parameter indicating whether the death or birth Hasting ratio should be calculated.

Details

Used internally.

Value

A numeric value. The Hastings ratio.

Author(s)

Andreas Dyreborg Christoffersen andreas@math.aau.dk


adchSTATS/spatstat3dadd documentation built on May 20, 2019, 9:26 a.m.