R/ecc.R

`ecc` <-
function (lat,long,names=NULL) 
{

	res=data.frame(lat,long);
	row.names(res)=names;
	class(res$lat)="dms";
	class(res$long)="dms";
	
	class(res)=c("ecc","apos","data.frame");
	return(res);

}

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.