Calculate house position of a given body.
swe_house_pos(armc, geolat, eps, hsys, xpin) swe_gauquelin_sector(jd_ut, ipl, starname, ephe_flag, imeth, geopos, atpress, attemp)
right ascension of the MC as double (deg)
geographic latitude as double (deg)
ecliptic obliquity as double (deg)
house method, one-letter case sensitive as char
longitude and latitude of the given body as numeric vector (deg)
UT Julian day number as double (day)
Body/planet as integer (
Star name as string (
Ephemeris flag as integer (
Gauquelin method as integer (0, 1, 2, 3, 4 or 5)
position as numeric vector (longitude, latitude, height)
Atmospheric pressure as double (hPa)
Atmospheric temperature as double (Celsius)
swe_house_pos returns a list with named entries:
return how far from body's cusp as double,
serr error message as string.
swe_gauquelin_sector returns a list with named entries:
return status flag as integer,
dgsect for Gauquelin sector as double and
serr error message as string
Calculate house position of given body.
Compute the Gauquelin sector position of a planet or star.
Section 14 in http://www.astro.com/swisseph/swephprg.htm. Remember that array indices start in R at 1, while in C they start at 0!
swe_house_pos(12, 53, 23, 'B', c(0,0))#> $return #>  9.435262 #> #> $serr #>  "" #>#> $return #>  0 #> #> $dgsect #>  31.41367 #> #> $serr #>  "" #>