calc_summary_funcs: function to calculate all summary functions on point pattern

View source: R/rTEM_summarize.R

calc_summary_funcsR Documentation

function to calculate all summary functions on point pattern

Description

Cacluate that summary functions included in 'funcs' on 'pattern', a point pattern of class ppp or pp3. Now can do advanced nearest neighbor if 'funcs' contains 'G2', 'G3', etc.

Usage

calc_summary_funcs(
  pattern,
  funcs = c("K", "G", "F", "GXGH"),
  dopant_formula,
  host_formula,
  maxKr = 10,
  nKr = 200,
  maxGr = 5,
  nGr = 1000,
  maxGXGHr = 3,
  maxGXHGr = 8,
  nGXr = 1000,
  vside = 0.3,
  K_cor = "trans",
  G_cor = "km",
  F_cor = "km",
  GXGH_cor = "km",
  GXHG_cor = "km",
  G2_cor = "km"
)

Arguments

pattern

point pattern of type ppp or pp3

funcs

vector of summary functions to calculate

dopant_formula

mark of points from which to calculate summary functions

host_formula

marks of points to not use in summary functions (except cross type functions)

K_cor

edge correction(s) to be used for K function

G_cor

edge correction(s) to be used for G function

F_cor

edge correction(s) to be used for F function

GXGH_cor

edge correction(s) to be used for GXGH function

GXHG_cor

edge correction(s) to be used for GXHG function

...

maxKr, nKr, maxGr, nGr, maxGXGHr, maxGXHGr, nGXr


rolandrolandroland/rTEM documentation built on March 29, 2025, 2:17 p.m.