R/print.jd.R

Defines functions print.jd

Documented in print.jd

print.jd <-
function (x,...)
{
	res = data.frame(date=as.vector(x));
	class(res$date)="jd";
	rownames(res)=names(x);
	rrr <- data.frame(res, as.character(res))
	colnames(rrr) <- c("Date", "Julian Date") 
	print(rrr);
}

Try the moonsun package in your browser

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

moonsun documentation built on May 29, 2017, 12:17 p.m.