Description Usage Arguments Author(s) Examples
Solar declination for a given day of the year.
1 | declination(Jday)
|
Jday |
Julian date or day of the year [day] |
M. Todd Walter
1 2 3 4 5 6 7 8 9 10 11 12 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function(Jday){
# solar declination [rad]
#
#Jday: Julian date or day of the year [day]
#
return(0.4102*sin(pi*(Jday-80)/180))
}
|
Loading required package: operators
Attaching package: 'operators'
The following objects are masked from 'package:base':
options, strrep
Loading required package: topmodel
Loading required package: DEoptim
Loading required package: parallel
DEoptim package
Differential Evolution algorithm in R
Authors: D. Ardia, K. Mullen, B. Peterson and J. Ulrich
Loading required package: XML
function (Jday)
{
return(0.4102 * sin(pi * (Jday - 80)/180))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.