get.days: Function to determine the number of days 365 or 366 in a...

View source: R/get.days.R

get.daysR Documentation

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

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

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


hydrostats documentation built on June 1, 2022, 9:06 a.m.