R/as.Date.cal.yr.R

Defines functions as.Date.cal.yr

Documented in as.Date.cal.yr

as.Date.cal.yr <-
function( x, ... )
{
structure( round( ( x - 1970 ) * 365.25 ), class="Date" )
}

Try the Epi package in your browser

Any scripts or data that you put into this service are public.

Epi documentation built on April 25, 2023, 9:09 a.m.