find_easter: Find Easter date by year

View source: R/utils.R

find_easterR Documentation

Find Easter date by year

Description

Determine the day of the year Easter occurs. Coded using the Gauss algorithm.

Usage

find_easter(year)

Arguments

year

character or numeric for 4 digit year.

Value

Date object in YYYY-MM-DD format.

Source

https://en.wikipedia.org/wiki/Date_of_Easter#Algorithms

Examples

find_easter(2021)
lapply(c(1990:2000), find_easter)

al-obrien/farrago documentation built on April 14, 2023, 6:20 p.m.