R/getmoday.R

Defines functions `getmoday`

`getmoday` <-
function(jul, iyear)
{
if(length(iyear)<length(jul))
{
iyear = rep(iyear, length(jul))

}
inine =   tojul(iyear,1,1);
ijul =    inine + jul - 1;
MD = fromjul( ijul, iyear);

return(list(mo=MD$mo, dom=MD$dom))

}

Try the RSEIS package in your browser

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

RSEIS documentation built on Aug. 19, 2023, 5:07 p.m.