dot-bw.scott2: Calculate Gaussian bandwideth - 'scott'

.bw.scott2R Documentation

Calculate Gaussian bandwideth - 'scott'

Description

This function Calculate Gaussian bandwideth based on Scott's rule of thumb. Note that this function is already available in recent spatstat versions (see ?.bw.scott). This is used internally in 'moleculaR::probMap'.

Usage

.bw.scott2(X, isotropic = FALSE, d = NULL)

Arguments

X:

A point pattern (object of class ppp).

isotropic:

Logical value indicating whether to compute a single bandwidth for an isotropic Gaussian kernel (isotropic=TRUE) or separate bandwidths for each coordinate axis (isotropic=FALSE, the default).

Value

A numeric, estimated Gaussian bandwidth. geometric mean


CeMOS-Mannheim/moleculaR documentation built on April 14, 2025, 8:27 a.m.