Skip to content

Commit

Permalink
add packages in doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
edzer committed Aug 25, 2024
1 parent 53547f1 commit e8213fd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions man/bubble.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ is TRUE }
\item{...}{ arguments, passed to \code{xyplot}, or \code{plot} if
identification is required. }
\item{key.space}{location of the key}
\item{scales}{scales argument as passed to \link{xyplot}}
\item{scales}{scales argument as passed to \link[lattice]{xyplot}}
\item{xlab}{x-axis label}
\item{ylab}{y-axis label}
\item{panel}{panel function used}
Expand All @@ -57,7 +57,7 @@ the indexes (row numbers) of identified points.
}
%\references{ }
\author{ Edzer Pebesma }
\seealso{\link{xyplot}, \link{mapasp}, \link{identify}}
\seealso{\link[lattice]{xyplot}, \link{mapasp}, \link{identify}}
\examples{
data(meuse)
coordinates(meuse) <- c("x", "y") # promote to SpatialPointsDataFrame
Expand Down
2 changes: 1 addition & 1 deletion man/image.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if we take the image.default manual page as the reference. }
\author{ Edzer Pebesma }
\seealso{ \link{image.default}, \link{SpatialGridDataFrame-class},
\link{levelplot} in package \code{lattice}. Function
\link[lattice]{levelplot} in package \code{lattice}. Function
\code{image.plot} in package \code{fields} can be used to make a legend for an
image, see an example in \url{https://stat.ethz.ch/pipermail/r-sig-geo/2007-June/002143.html}
}
Expand Down
2 changes: 1 addition & 1 deletion man/mapasp.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ degreeLabelsNS(x)
for other data, mapasp returns "iso".
}
\note{the values for \code{x} are typically obtained from \link{axTicks}}
\seealso{ \link{levelplot} in package \code{lattice}}
\seealso{ \link[lattice]{levelplot} in package \code{lattice}}

\keyword{dplot}
12 changes: 6 additions & 6 deletions man/spplot.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ get_col_regions()
\item{zcol}{ character; attribute name(s) or column number(s) in attribute table }
\item{names.attr}{ names to use in panel, if different from zcol names }
\item{scales}{ scales argument to be passed to Lattice plots; use
\code{list(draw = TRUE)} to draw axes scales; see \link{xyplot} for full options }
\item{...}{ other arguments passed to \link{levelplot} (grids, polygons) or
\link{xyplot} (points) }
\code{list(draw = TRUE)} to draw axes scales; see \link[lattice]{xyplot} for full options }
\item{...}{ other arguments passed to \link[lattice]{levelplot} (grids, polygons) or
\link[lattice]{xyplot} (points) }
\item{xlab}{label for x-axis }
\item{ylab}{label for y-axis }
\item{aspect}{aspect ratio for spatial axes; defaults to "iso" (one unit
Expand Down Expand Up @@ -145,14 +145,14 @@ of lower-left}
\item{\code{page}}{to add marks to each plotted page}
}

for useful values see the appropriate documentation of \link{xyplot}
(in case of points), and \link{levelplot} (otherwise).
for useful values see the appropriate documentation of \link[lattice]{xyplot}
(in case of points), and \link[lattice]{levelplot} (otherwise).

If \code{obj} is of SpatialPointsDataFrame, the following options are
useful to pass:
\describe{
\item{\code{key.space}}{ character: "bottom", "right", "left" or "right" to denote
key location, or list: see argument key in the help for \link{xyplot} what
key location, or list: see argument key in the help for \link[lattice]{xyplot} what
the options are}
\item{\code{legendEntries}}{ character; array with key legend (text) entries;
suitable defaults obtained from data }
Expand Down
2 changes: 1 addition & 1 deletion man/stack.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ of \code{data} stacked }
column \code{ind} that indicates the variable stacked; it also
replicates the coordinates. }

\seealso{ \link{spplot}, \link{levelplot} in package \code{lattice}, and \link{stack}}
\seealso{ \link{spplot}, \link[lattice]{levelplot}, and \link{stack}}
\examples{
library(lattice)
data(meuse.grid) # data frame
Expand Down

0 comments on commit e8213fd

Please sign in to comment.