Added functions to convert arcminutes and arcseconds <-> degrees
Very simple stuff. Would have been nice if there was an easy way to get arcminutes and arcseconds notation to/from degrees, but that's a whole other can of worms. No such R packages exist as far as I can tell. Where are all the astronomy peeps?master
parent
816d05dced
commit
6c72c0f69e
@ -0,0 +1,20 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/numeric.R
|
||||
\name{amin2degrees}
|
||||
\alias{amin2degrees}
|
||||
\title{Convert arcminutes to degrees}
|
||||
\usage{
|
||||
amin2degrees(x)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{arcminutes, numeric}
|
||||
}
|
||||
\value{
|
||||
degrees, numeric
|
||||
}
|
||||
\description{
|
||||
Convert arcminutes to degrees
|
||||
}
|
||||
\seealso{
|
||||
https://en.wikipedia.org/w/index.php?title=Minute_and_second_of_arc&oldid=1159601591
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/numeric.R
|
||||
\name{asec2degrees}
|
||||
\alias{asec2degrees}
|
||||
\title{Convert arcseconds to degrees}
|
||||
\usage{
|
||||
asec2degrees(x)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{arcseconds, numeric}
|
||||
}
|
||||
\value{
|
||||
degrees, numeric
|
||||
}
|
||||
\description{
|
||||
Convert arcseconds to degrees
|
||||
}
|
||||
\seealso{
|
||||
https://en.wikipedia.org/w/index.php?title=Minute_and_second_of_arc&oldid=1159601591
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/numeric.R
|
||||
\name{degrees2amin}
|
||||
\alias{degrees2amin}
|
||||
\title{Convert degrees to arcminutes}
|
||||
\usage{
|
||||
degrees2amin(x)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{degrees, numeric}
|
||||
}
|
||||
\value{
|
||||
arcminutes, numeric
|
||||
}
|
||||
\description{
|
||||
Convert degrees to arcminutes
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/numeric.R
|
||||
\name{degrees2asec}
|
||||
\alias{degrees2asec}
|
||||
\title{Convert degrees to arcseconds}
|
||||
\usage{
|
||||
degrees2asec(x)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{degrees, numeric}
|
||||
}
|
||||
\value{
|
||||
arcseconds, numeric
|
||||
}
|
||||
\description{
|
||||
Convert degrees to arcseconds
|
||||
}
|
Loading…
Reference in New Issue