relabel_summarize: Relabel input point pattern and calcluate summary functions

View source: R/rapt_summarize.R

relabel_summarizeR Documentation

Relabel input point pattern and calcluate summary functions

Description

takes an input binary point pattern, randomly relabels it while maintainig the same ratio of marks, and calculates summary functions. Can then use average_relabelings to find averages and envelopes

Usage

relabel_summarize(
  seed,
  pattern,
  funcs = c("K", "G", "F", "GXGH"),
  dopant_formula,
  host_formula,
  k = 1,
  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"
)

Arguments

seed

number to use in set.seed for reproducibility

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

Value

summary functions listed in funcs variable


aproudian2/rapt documentation built on Dec. 15, 2022, 4:24 a.m.