Description Usage Arguments Value Author(s) Examples
function that calculates the day length knowing the latitude and number of the day during the year
1 | dayLength(nj = 1, phi = 0)
|
nj |
number of the day during the year (example: for 10 february, nj = 41) |
phi |
latitude of the considered site |
An object of class numeric(1) represents the day length.
Azeddine Frimane.
Laboratory of renewable Energies and Environment (LR2E),
Faculty of Science, IBN TOFAIL University, Morocco.
email: Azeddine.frimane@uit.ac.ma; Azeddine.frimane@yahoo.com
1 2 3 | # calculate the day length by hours for a given site (latitude = 15, and day 45)
dlen <- dayLength(nj = 45, phi = 15)
dlen
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.