get.days {hydrostats}R 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)


[Package hydrostats version 0.2.9 Index]