find_zero_mu_turning_points: Finds points at which turning points are zero

Description Usage Arguments Value Examples

View source: R/mu.R

Description

Finds points at which turning points are zero

Usage

1
2
3
4
5
6
7
find_zero_mu_turning_points(
  time,
  mu_fn,
  mu_diff_fn,
  parameters,
  print_level = 1
)

Arguments

time

Current time

mu_fn

Mu function

mu_diff_fn

Derivative of mu function

parameters

Parameters

print_level

Level of logger to print

Value

Returns turning points in the function where mu is zero

Examples

1
2
3
find_zero_mu_turning_points(time = 200, mu_fn = mu_linear,
                            mu_diff_fn = mu_diff_linear,
                            parameters = list("A" = 1, "B" = -0.1))

mrc-ide/epihawkes documentation built on Feb. 13, 2021, 10:20 a.m.