multi_local_l: Local L-function analysis

View source: R/cluster.R

multi_local_lR Documentation

Local L-function analysis

Description

Wrapper for local_l that allows local L-function to be computed on each type of a multitype ppp object where type is specidied by the marks column denoted by the parameter which.marks.

Usage

multi_local_l(points, which.marks = spatstat::marks(points), rvalue = NULL,
  mark.original = FALSE, ...)

Arguments

points

multitype ppp object

which.marks

string specifies the column of the ppp marks data.frame that denotes points types.

rvalue

radius of to determine L-function at.

mark.original

if rvalue is specified, local L-function values can be appended to the original ppp object as a new column in marks.

...

argument passed to local_l

Details

If an r-value is specified, local_l values can be appended as marks on the original ppp object. Otherwise, a fv object is returned.

Value

If rvalue and mark.original are specified, a vector of L(r) values is appended to the original ppp marks. If mark.original is not specified then the L(r) vector is simply returned. If rvalue is not specified, fv object is returned.


keithschulze/supr documentation built on Nov. 26, 2022, 7:09 a.m.