swh:1:snp:33a53053e50f7abe7d281cc0c803be827debf4a3
Raw File
Tip revision: 83eabd78cec8fef7ed4c3b7bd0b911996c9957bb authored by Edzer J. Pebesma on 29 March 2005, 00:00:00 UTC
version 0.9-22
Tip revision: 83eabd7
mapasp.Rd
\name{mapasp}
\alias{mapasp}
\title{ Calculate plot aspect ratio for geographic maps }
\description{ Calculate plot aspect ratio for geographic maps }
\usage{
mapasp(data, x = data$x, y = data$y, get.number = FALSE)
}
\arguments{
\item{data}{ data frame }
\item{x}{ x-coordinates }
\item{y}{ y-coordinates }
\item{get.number}{ logical; if true the aspect value is returned else,
and in R >= 2.0.0, "iso" is returned }
}
\value{
	on R version 2.0.0 or higher, returns "iso", else returns
	diff(range(y))/diff(range(x))
}
\seealso{ \link{image.data.frame}, \link{krige}}

\keyword{dplot}
back to top