R/dcipc.R

Defines functions dcipc

Documented in dcipc

dcipc <- function(x, omega, g, rads = FALSE, logden = FALSE) {
  if (!rads)  x <- x * pi/180
  den <-  - log(2 * pi) - log( sqrt(g^2 + 1) - g * cos(x - omega) )
  if ( !logden )  den <- exp(den)
  den
}

Try the Directional package in your browser

Any scripts or data that you put into this service are public.

Directional documentation built on Oct. 12, 2023, 1:07 a.m.