correction_factor_time: Time extent correction for NKDE

View source: R/border_correction_sf.R

correction_factor_timeR Documentation

Time extent correction for NKDE

Description

Function to calculate the time extent correction factor in tnkde.

Usage

correction_factor_time(
  events_time,
  samples_time,
  bws_time,
  kernel_name,
  time_limits = NULL
)

Arguments

events_time

A numeric vector representing when the events occurred

samples_time

A numeric vector representing when the densities will be sampled

bws_time

A numeric vector with the temporal bandwidths

kernel_name

The name of the kernel to use

time_limits

A vector with the upper and lower limit of the time period studied

Value

A numeric vector with the correction factor values for each event

Examples

#no example provided, this is an internal function

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