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


spNetwork documentation built on Nov. 11, 2022, 9:13 a.m.