Skip to content

Commit

Permalink
fixes #1383
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 22, 2023
1 parent ed214f3 commit 15854f1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions man/extend.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
\description{
Enlarge the spatial extent of a SpatRaster. See \code{\link{crop}} if you (also) want to remove rows or columns.

You can also enlarge a SpatExtent with this method, or with algebraic notation (see examples)
Note that you can only enlarge SpatRasters with entire rows and columns. Therefore, the extent of the output SpatRaster may not be exactly the same as the requested. Depending on argument \code{snap} it may be a bit smaller or larger.

You can also enlarge a SpatExtent with this method, or with an algebraic notation (see examples)
}

\usage{
Expand All @@ -35,7 +37,7 @@ You can also enlarge a SpatExtent with this method, or with algebraic notation (
SpatRaster or SpatExtent
}

\seealso{\code{\link{crop}}, \code{\link{merge}}, \code{\link{ext}}}
\seealso{\code{\link{crop}}, \code{\link{merge}}, \code{\link{ext}}, \code{\link{resample}}}

\examples{
r <- rast(xmin=-150, xmax=-120, ymin=30, ymax=60, ncols=36, nrows=18)
Expand Down

0 comments on commit 15854f1

Please sign in to comment.