Function to determine the number of days 365 or 366 in a given year.

Description

A helper function for circular statistic functions. Determines the number of days in any given year (i.e. 365 or 366)

Usage

1
get.days(year)

Arguments

year

A vector of years in numeric format

Value

A vector containing the number of days in each year in the input vector

Author(s)

Nick Bond <n.bond@latrobe.edu.au>

Examples

1
2
years<-c("1968","1975","1983","1990","2004")
get.days(years)