Learn R Programming

spNetwork (version 0.2.1)

corrfactor_discontinuous: A function to calculate the necessary informations to apply the Diggle correction factor with a discontinuous method

Description

A function to calculate the necessary informations to apply the Diggle correction factor with a discontinuous method

Usage

corrfactor_discontinuous(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