findDelta: Converting between Rho to Delta

Description Usage Arguments Value Examples

Description

Functions for converting the concentration parameter rho to the season duration parameter delta and vice versa. They are: findDelta(rho). These are mainly internal.

Usage

1
2
3
4
5
findDelta(rho)

findRho(delta)

DeltaToRho(delta, rho)

Arguments

rho

concentration parameter on interval [0, 1]

delta

duration parameter

Value

duration parameter delta

concentration parameter rho on interval [0, 1]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
findDelta(rho = 0.9); findRho(0.0167)
findDelta(rho = 0.1); findRho(0.218)
 
# Plot the relationship
oldpar <- par(no.readonly = TRUE)
par(mfrow = c(1,2))
rhos <- seq(0, 1, length = 1e3)
plot(rhos, findDelta(rhos), ylab = "deltas", type = "l")
deltas <- seq(0, .5, length = 1e3)
plot(deltas, findRho(deltas), ylab = "rhos", type = "l")
par(oldpar)

cyclomort documentation built on Aug. 20, 2020, 5:06 p.m.