set_kernel: Under construction: Define response kernel functions

View source: R/hawkes_em_functions.R

set_kernelR Documentation

Under construction: Define response kernel functions

Description

For user-chosen kernel_type in c("dgamma", "dexp", "dlnorm"), returns a list of repsponse kernel functions. Currently only implemented for "dgamma". The goal is to set up various response kernel choices so that they have unifrom args and returns, and catch inadmissable args passed during M-step optimization.

Usage

set_kernel(kernel_type = "dgamma")

Arguments

kernel_type

currently only implemented for "dgamma".

Value

A named list of functions with components c("Density", "Dist", "Quantile").


peterhalpin/hawkes documentation built on July 2, 2023, 1:04 p.m.