corrfactor_discontinuous_sparse: A function to calculate the necessary information to apply...

View source: R/RcppExports.R

corrfactor_discontinuous_sparseR Documentation

A function to calculate the necessary information to apply the Diggle correction factor with a discontinuous method (sparse)

Description

A function to calculate the necessary information to apply the Diggle correction factor with a discontinuous method (sparse)

Usage

corrfactor_discontinuous_sparse(
  neighbour_list,
  events,
  line_list,
  bws,
  max_depth
)

Arguments

neighbour_list

a list of the neighbours of each node

events

a numeric vector of the node id of each event

line_list

a DataFrame representing the lines of the graph

bws

the kernel bandwidth for each event

max_depth

the maximum recursion depth (after which recursion is stopped)

Value

a list of dataframes, used to calculate the Diggel correction factor


JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.