R/ahargana.R

Defines functions ahargana

Documented in ahargana

# ---------------------------------------------------------------------------- #
#' ahargana
#'
#' @param jd Julian day number
#'
#' @return Ahargana
#'
#' @examples
#' ahargana(2459778)
#' ahargana(swephR::swe_julday(2022,7,14,0,swephR::SE$GREG_CAL))
ahargana <- function(jd){
  return (jd - 588465.5)
}
# ---------------------------------------------------------------------------- #

Try the VedicDateTime package in your browser

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

VedicDateTime documentation built on Sept. 20, 2023, 9:08 a.m.