Learn R Programming

solrad (version 1.0.0)

Declination: Declination Angle

Description

This function calculates solar declination angle for a given day of year.

Usage

Declination(DOY)

Arguments

DOY

Day of year

Examples

Run this code
# NOT RUN {
#Calculating solar declination angle for 365 day of the year

DOY <- 1:365

delta <- Declination(DOY)

plot(DOY, delta)

# }

Run the code above in your browser using DataLab