calc_moments: calc_moments

View source: R/calc_moments.R

calc_momentsR Documentation

calc_moments

Description

Calculate moments

Usage

calc_moments(fn, p, exclude = NULL, x, y, mark, kernel, rmax_bw, r)

Arguments

fn

Determination of the weightings of the mark correlation functions.

p

Defines the initial state of the new ponit pattern.

exclude

Vector indicating which values not to use.

x, y

x and y coordinates of the points from the reference point pattern.

mark

Marks the currently viewed point pattern.

kernel

Result of the kernel calculation, calculated with the calc_kernels function.

rmax_bw

Maximum distance at which the summary statistics are evaluated + Bandwidth with which the kernels are scaled, so that this is the standard deviation of the smoothing kernel.

r

Sequence from rmin to rmax in rcount steps.

Details

Definition of the product-moment function for calculating the contribution of a point at the coordinates x, y with marking.

Value

matrix


r-spatialecology/shar documentation built on March 18, 2024, 2:17 a.m.