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

Description Usage Arguments Value

View source: R/RcppExports.R

Description

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

Usage

1
2
3
4
5
6
7
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 Oct. 30, 2021, 5:06 p.m.