Package lunar. R topics documented: February 20, 2015. Type Package



Similar documents
Package retrosheet. April 13, 2015

Earth, Moon, and Sun Study Guide. (Test Date: )

Today FIRST HOMEWORK DUE NEXT TIME. Seasons/Precession Recap. Phases of the Moon. Eclipses. Lunar, Solar. Ancient Astronomy

Relationship Between the Earth, Moon and Sun

Today. Solstices & Equinoxes Precession Phases of the Moon Eclipses. Ancient Astronomy. Lunar, Solar FIRST HOMEWORK DUE NEXT TIME

Astronomical Clocks. ~ 1 day ~ 1 hour

Cycles in the Sky. Teacher Guide: Cycles in the Sky Page 1 of Discovery Communications, LLC

Exploration of the Solar System

Reasons for Seasons. Question: TRUE OR FALSE. Question: TRUE OR FALSE? What causes the seasons? What causes the seasons?

Earth, Sun and Moon is a set of interactives designed to support the teaching of the QCA primary science scheme of work 5e - 'Earth, Sun and Moon'.

Package uptimerobot. October 22, 2015

Earth In Space Chapter 3

The following questions refer to Chapter 19, (PAGES IN YOUR MANUAL, 7 th ed.)

Package sendmailr. February 20, 2015

CELESTIAL MOTIONS. In Charlottesville we see Polaris 38 0 above the Northern horizon. Earth. Starry Vault

EDMONDS COMMUNITY COLLEGE ASTRONOMY 100 Winter Quarter 2007 Sample Test # 1

5- Minute Refresher: Daily Observable Patterns in the Sky

Lesson 1: Phases of the Moon

Lab Activity on the Causes of the Seasons

The Observed Calendar of the Second Temple Dates For 2014

The Moon. Nicola Loaring, SAAO

Douglas Adams The Hitchhikers Guide to the Galaxy

1. In the diagram below, the direct rays of the Sun are striking the Earth's surface at 23 º N. What is the date shown in the diagram?

Motions of Earth, Moon, and Sun

Exercise: Estimating the Mass of Jupiter Difficulty: Medium

Night Sky III Planetary Motion Lunar Phases

Local Sidereal Time is the hour angle of the First Point of Aries, and is equal to the hour angle plus right ascension of any star.

Changes in Our Sky Grade Two

Misconceptions in Astronomy in WA High School students (in preparation)

Package dunn.test. January 6, 2016

Activity 10 - Universal Time

Package plan. R topics documented: February 20, 2015

Package wordcloud. R topics documented: February 20, 2015

Package erp.easy. September 26, 2015

Tides and Water Levels

ASTRONOMY 161. Introduction to Solar System Astronomy

Constellation Assignment

Essential Question. Enduring Understanding

Package pxr. February 20, 2015

ASTR 1030 Astronomy Lab 65 Celestial Motions CELESTIAL MOTIONS

FIRST GRADE 1 WEEK LESSON PLANS AND ACTIVITIES

Package searchconsoler

The Celestial Sphere. Questions for Today. The Celestial Sphere 1/18/10

Package cgdsr. August 27, 2015

1-2. What is the name given to the path of the Sun as seen from Earth? a.) Equinox b.) Celestial equator c.) Solstice d.

Package decompr. August 17, 2016

Package empiricalfdr.deseq2

Study Guide: Sun, Earth and Moon Relationship Assessment

Science Benchmark: 06 : 01 Standard 01: THE MYSTICAL MOON axis of rotation,

Package hoarder. June 30, 2015

Package OECD. R topics documented: January 17, Type Package Title Search and Extract Data from the OECD Version 0.2.

8.5 Motions of Earth, the Moon, and Planets

Produced by Billy Hix and Terry Sue Fanning. As part of the TeachSpace Program. For more ideas and an image of the current phase of the moon, visit:

Answers for the Study Guide: Sun, Earth and Moon Relationship Test

Package cpm. July 28, 2015

Activity 3: Observing the Moon

Package RCassandra. R topics documented: February 19, Version Title R/Cassandra interface

Star signs and horoscopes

The Lunar Phase Wheel

Users Guide to the Ecliptic Calendar by Damon Scott, Author of the Ecliptic System

CELESTIAL EVENTS CALENDAR APRIL 2014 TO MARCH 2015

Overarching questions

The Four Seasons. A Warm Up Exercise. A Warm Up Exercise. A Warm Up Exercise. The Moon s Phases

CELESTIAL CLOCK - THE SUN, THE MOON, AND THE STARS

Package SHELF. February 5, 2016

Motions of the Earth. Stuff everyone should know

Basic Coordinates & Seasons Student Guide

Phases of the Moon. Preliminaries:

Proffessor: J. C. Cersosimo

Lesson 6: Earth and the Moon

Package EstCRM. July 13, 2015

Package tagcloud. R topics documented: July 3, 2015

Package wordnet. January 6, 2016

Package treemap. February 15, 2013

Science Standard 4 Earth in Space Grade Level Expectations

Package missforest. February 20, 2015

Package TSfame. February 15, 2013

MULTI-LEVEL LESSON PLAN GUIDE Earth, Moon, and Beyond

Package franc. R topics documented: November 12, Title Detect the Language of Text Version 1.1.1

Tropical Horticulture: Lecture 2

Package whoapi. R topics documented: June 26, Type Package Title A 'Whoapi' API Client Version Date Author Oliver Keyes

2013 MBA Jump Start Program. Statistics Module Part 3

Lecture L17 - Orbit Transfers and Interplanetary Trajectories

Unit One Organizer: The Stars and Our Solar System (Approximate Time: 7 Weeks)

The changing phases of the Moon originally inspired the concept of the month

Package sjdbc. R topics documented: February 20, 2015

Package brewdata. R topics documented: February 19, Type Package

Package AMORE. February 19, 2015

Package ggrepel. February 8, 2016

Package fastghquad. R topics documented: February 19, 2015

Package smoothhr. November 9, 2015

Package snp.plotter. February 20, 2015

Package httprequest. R topics documented: February 20, 2015

Package date. R topics documented: February 19, Version Title Functions for handling dates. Description Functions for handling dates.

The Reasons for the Seasons

Rising and Setting of the Moon

Solar Tracking Application

Shadows, Angles, and the Seasons

Transcription:

Type Package Package lunar February 20, 2015 Title Lunar Phase & Distance, Seasons and Other Environmental Factors Author Emmanuel Lazaridis [aut, cre] Maintainer Emmanuel Lazaridis <emmanuel@lazaridis.eu> Depends R (>= 2.10.0) Provides functions to calculate lunar and other environmental covariates. License MIT + file LICENSE Encoding UTF-8 LazyLoad no URL http://statistics.lazaridis.eu Version 0.1-04 Date 2014-09-04 NeedsCompilation no Repository CRAN Date/Publication 2014-09-08 10:59:14 R topics documented: lunar-package........................................ 2 lunar.4phases........................................ 2 lunar.8phases........................................ 3 lunar.distance........................................ 4 lunar.distance.mean..................................... 5 lunar.distances........................................ 5 lunar.illumination...................................... 6 lunar.illumination.mean................................... 7 lunar.metric.mean...................................... 8 lunar.phase......................................... 9 terrestrial.season...................................... 10 terrestrial.seasons...................................... 11 1

2 lunar.4phases Inde 12 lunar-package The lunar Package Lunar Phase & Distance, Seasons and Other Environmental Factors. Provides functions to calculate the phase of the moon, its distance from the earth, the season and possibly other environmental factors, based on date and location. Package: lunar Type: Package Version: 0.1-04 Date: 2014-09-04 Depends: R (>= 2.10.0) Encoding: UTF-8 License: MIT LazyLoad: no URL: http://statistics.lazaridis.eu Provides functions to calculate lunar and other environmental covariates. This package is used by the author to calculate covariates for studies of lunar effect on health and healthcare. References forthcoming. Author(s) Emmanuel Lazaridis lunar.4phases Lunar Phase Categories (4) Return 4 category labels for lunar phases. lunar.4phases

lunar.8phases 3 Format chr [1:4] "New" "Waing" "Full" "Waning" These are category names corresponding to phases of the moon. Moon phase category names may be returned in the output of the lunar.phase function if its name option is set to TRUE. lunar.phase print(lunar.4phases) lunar.8phases Lunar Phase Categories (8) Return 8 category labels for lunar phases. lunar.8phases Format chr [1:8] "New" "Waing crescent" "First quarter" "Waing gibbous" "Full" "Waning gibbous"... These are category names corresponding to phases of the moon. Moon phase category names may be returned in the output of the lunar.phase function if its name option is set to TRUE. lunar.phase print(lunar.8phases)

4 lunar.distance lunar.distance Lunar Distance Returns the distance of the moon from the earth on specified dates. lunar.distance(, shift = 0,..., name = FALSE, strict = FALSE) shift name strict The number of hours by which to shift the distance calculation. By default distance is calculated at 12 noon UT. Optional parameter indicating whether the return is a factor variable consisting of a lunar distance label, or the lunar distance in earth radii. By default lunar phase is returned in earth radii. Optional parameter indicating whether the return should employ strict definitions for distance labels, that is, with apogee and perigee within 5 definition breaks the distance categories evenly into 20 The average category is the same in both definitions.... Other optional arguments are ignored. Distance to the moon is returned in units of earth radii, or as a 5-level factor variable referring to the moon s perigee (at about 56 earth radii) and apogee (at about 63.8 earth radii). Adapted from Stephen R. Schmitt: Lunar Phase Computation: http://mysite.verizon.net/ res148h4j/zenosamples/zs_lunarphasecalc.html. Last accessed: 1 September 2014. lunar.distances lunar.distance(as.date("2004-03-24"))

lunar.distance.mean 5 lunar.distance.mean Average Lunar Distance Returns the average lunar distance around specified dates. lunar.distance.mean(, towards = -6,..., by = c("date", "hours", "day", "night")) towards The directed window size from in days. By default the window looks back 7 days including. by The eposure interval and integration basis. The default is to represent a day s distance by the distance at 12 noon UT. The other options integrate midrange distances over hours.... Other optional arguments are ignored. lunar.distance lunar.distance.mean(as.date("2004-03-24")) lunar.distances Lunar Distance Categories Return category labels for lunar distances. lunar.distances Format chr [1:5] "Apogee" "Far" "Average" "Near" "Perigee"

6 lunar.illumination These are category names corresponding to distances from the center of the Earth to the center of its moon. Distance category names are used in the output of the lunar.distance function if its name option is set to TRUE. The perigee occurs at roughly 56 Earth radii, and the apogee at about 62.8 Earth radii. These categories are not determined according to any common standard. They may have different precise definitions for their bounds in different analyses. lunar.distance print(lunar.distances) lunar.illumination Lunar Illumination Returns the proportion of lunar illumination on specified dates. lunar.illumination(, shift = 0) shift The number of hours by which to shift the calculation of lunar phase. By default lunar phase is calculated at 12 noon UT. Adapted from function moon.illumination in from the R4MFCL project (not an R package), which was developed by the Secretariat of the Pacific Community (SPC). The R4MFCL project was led by Simon Hoyle, and also includes code by Shelton Harley, Nick Davies, and Adam Langley of the SPC, and Pierre Kleiber of the US National Marine Fisheries Service. Pierre Kleiber is the author of the moon.illumination function. Code from project R4MFCL is distributed under the MIT License: http://opensource.org/licenses/mit-license.php Here is a link to the R4MFCL project: https://code.google.com/p/r4mfcl/

lunar.illumination.mean 7 lunar.illumination.mean lunar.illumination(as.date("2004-03-24")) lunar.illumination.mean Average Lunar Illumination Returns the average lunar illumination around specified dates. lunar.illumination.mean(, towards = -6,..., by = c("date", "hours", "day", "night")) towards The directed window size from in days. By default the window looks back 7 days including. by The eposure interval and integration basis. The default is to represent a day s illumination by the illumination at 12 noon UT. The other options integrate midrange illuminations over hours. Options day and night are not currently implemented, but will be used to limit eposure intervals. The use of an unimplemented option in a function call will result in a NULL value being returned.... Other optional arguments are ignored. lunar.illumination lunar.illumination.mean(as.date("2004-03-24"))

8 lunar.metric.mean lunar.metric.mean Average Lunar Metrics Returns an average measurement around specified dates. lunar.metric.mean(, towards = -6,..., by = c("date", "hours", "day", "night"), type = c("illumination", "distance")) towards The directed window size from in days. By default the window looks back 7 days including. by type The eposure interval and integration basis. The default is to represent a day s illumination by the illumination at 12 noon UT. The other options integrate midrange illuminations over hours. Options day and night are not currently implemented, but will be used to limit eposure intervals. The use of an unimplemented option in a function call will result in a NULL value being returned. Whether illumination or distance metrics are to be returned. The use of an unimplemented option in a function call will result in a NULL value being returned.... Other optional arguments are ignored. This in an internal support function that integrates a lunar measurement over time using step sizes of days or hours. lunar.illumination lunar.distance ## Not run: lunar.metric.mean(as.date("2004-03-24"), type="illumination") ## End(Not run)

lunar.phase 9 lunar.phase Lunar Phase Returns the lunar phase on specified dates. lunar.phase(, shift = 0,..., name = FALSE) shift name The number of hours by which to shift the calculation of lunar phase. By default lunar phase is calculated at 12 noon UT. Optional parameter indicating whether the return is a factor variable By default lunar phase is returned in radians. If assigned the value 8, it returns a factor variable with 8 phase levels. If TRUE or any value other than 0 or 8, it returns a factor variable with 4 phase labels.... Other optional arguments are ignored. Adapted from function moon.illumination in from the R4MFCL project (not an R package), which was developed by the Secretariat of the Pacific Community (SPC). The R4MFCL project was led by Simon Hoyle, and also includes code by Shelton Harley, Nick Davies, and Adam Langley of the SPC, and Pierre Kleiber of the US National Marine Fisheries Service. Pierre Kleiber is the author of the moon.illumination function. Code from project R4MFCL is distributed under the MIT License: http://opensource.org/licenses/mit-license.php Here is a link to the R4MFCL project: https://code.google.com/p/r4mfcl/ The R4MFCL code was modified as follows: Changed function name from moonphase to lunar.phase. Changed input date to be in Date format (as opposed to POSIXct). Removed reliance on other R4MFCL functions. Changed name of primary input from ptime to. Added optional shift term (in hours) relative to 12h UT. Added optional name term to control whether phase names as opposed to radians should be returned. Changed the documentation.

10 terrestrial.season Where radians are returned: 0 refers to the new moon π/2 refers to the first quarter π refers to the full moon 3π/2 refers to the last quarter Adapted originally from Stephen R. Schmitt: Sky & Telescope, Astronomical Computing, April 1994 and http://mysite.verizon.net/res148h4j/zenosamples/zs_lunarphasecalc.html, which references Jean Meeus, Astronomical Algorithms. Willmann-Bell, Inc. (1991) 429p. lunar.4phases lunar.8phases lunar.phase(as.date("2013-05-06")) terrestrial.season Terrestrial Season Returns the season on specified dates. terrestrial.season() The definitions for non-leap years are as follows (dates are inclusive): Winter: 21 December through 21 March Spring: 22 March through 21 June Summer: 22 June through 20 September Autumn: 21 September through 20 December In leap years spring comes a day early!

terrestrial.seasons 11 terrestrial.seasons terrestrial.season(as.date("2004-03-24")) terrestrial.seasons Terrestrial Season Categories Return category labels for the seasons on Earth. terrestrial.seasons Format chr [1:4] "Winter" "Spring" "Summer" "Autumn" These are category names corresponding to the seasons of the planet Earth. print(terrestrial.seasons)

Inde Topic covariate lunar.metric.mean, 8 Topic distance lunar.distance.mean, 5 lunar.distances, 5 Topic earth terrestrial.season, 10 terrestrial.seasons, 11 Topic illumination lunar.illumination, 6 lunar.illumination.mean, 7 Topic light lunar.illumination, 6 lunar.illumination.mean, 7 Topic lunar lunar.4phases, 2 lunar.8phases, 3 lunar.distance, 4 lunar.distance.mean, 5 lunar.distances, 5 lunar.illumination, 6 lunar.illumination.mean, 7 lunar.metric.mean, 8 lunar.phase, 9 Topic metric lunar.metric.mean, 8 Topic moon lunar.4phases, 2 lunar.8phases, 3 lunar.distance, 4 lunar.distance.mean, 5 lunar.distances, 5 lunar.illumination, 6 lunar.illumination.mean, 7 lunar.metric.mean, 8 lunar.phase, 9 Topic package lunar-package, 2 Topic phase lunar.4phases, 2 lunar.8phases, 3 lunar.phase, 9 Topic season terrestrial.season, 10 terrestrial.seasons, 11 Date, 4 10 lunar-package, 2 lunar.4phases, 2, 10 lunar.8phases, 3, 10 lunar.distance, 4, 5, 6, 8 lunar.distance.mean, 5 lunar.distances, 4, 5 lunar.illumination, 6, 7, 8 lunar.illumination.mean, 7, 7 lunar.metric.mean, 8 lunar.phase, 3, 9 POSIXct, 9 terrestrial.season, 10 terrestrial.seasons, 11, 11 12