Learn R Programming

RSEIS (version 4.2-4)

DAYSperYEAR: Days per Year

Description

Calculate the number of days per calendar year

Usage

DAYSperYEAR(yr)

Value

days

integer number of days for a given year

Arguments

yr

year

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

Run this code

years <- seq(from=1850, to=2010, by=1)

DAYSperYEAR(years)


Run the code above in your browser using DataLab