findDelta {cyclomort}R Documentation

Converting between Rho to Delta

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

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

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)

[Package cyclomort version 1.0.2 Index]