user_hyperframe {groupedHyperframe}R Documentation

User Interface of Operations on hyperframe with One-and-Only-One ppp-hypercolumn

Description

See workhorse function op_hyperframe().

Usage

Emark_(X, correction = "none", ...)

Vmark_(X, correction = "none", ...)

markcorr_(X, correction = "none", ...)

markvario_(X, correction = "none", ...)

Gcross_(X, correction = "none", ...)

Jcross_(X, correction = "none", ...)

Kcross_(X, correction = "none", ...)

Lcross_(X, correction = "none", ...)

nncross_(X, ...)

Arguments

X

a hyperframe

correction

character scalar, see functions markcorr, Gcross, etc. Default 'none' to save computing time.

...

additional parameters of user operation

Details

See explanations in workhorse function op_hyperframe().

Value

See explanations in workhorse function op_hyperframe().

Examples

library(spatstat.data)
library(spatstat.geom)
# no good example for [Emark_.hyperframe]
# no hyperframe with ppp-hypercolumn with numeric marks

flu$pattern[] = flu$pattern |> 
 lapply(FUN = `mark_name<-`, value = 'stain') # read ?flu carefully
 
r = seq.int(from = 0, to = 100, by = 5)
flu |>
 subset(stain == 'M2-M1') |>
 Gcross_(i = 'M1', j = 'M2', r = r, correction = 'best', mc.cores = 1L)
 
flu |>
 subset(stain == 'M2-M1') |>
 nncross_(i = 'M1', j = 'M2', mc.cores = 1L)

[Package groupedHyperframe version 0.2.1 Index]