Skip to content

Commit

Permalink
rd
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Dec 17, 2024
1 parent 02a9fd8 commit a61c239
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions man/distance.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ If \code{y} is missing, the distance between each points in \code{x} with all ot


\usage{
\S4method{distance}{SpatRaster,missing}(x, y, target=NA, exclude=NULL, unit="m", method="geo", filename="", ...)
\S4method{distance}{SpatRaster,missing}(x, y, target=NA, exclude=NULL, unit="m", method="haversine", filename="", ...)

\S4method{distance}{SpatRaster,SpatVector}(x, y, unit="m", rasterize=FALSE, method="geo", filename="", ...)
\S4method{distance}{SpatRaster,SpatVector}(x, y, unit="m", rasterize=FALSE, method="haversine", filename="", ...)

\S4method{distance}{SpatVector,ANY}(x, y, sequential=FALSE, pairs=FALSE, symmetrical=TRUE, unit="m", method="geo")

Expand Down
4 changes: 3 additions & 1 deletion man/scale_linear.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ Linear scaling of raster cell values between a specified minimum and maximum val
}

\usage{
\S4method{scale_linear}{SpatRaster}(x, min=0, max=1)
\S4method{scale_linear}{SpatRaster}(x, min=0, max=1, filename="", ...)
}


\arguments{
\item{x}{SpatRaster}
\item{min}{minimum value to scale to}
\item{max}{maximum value to scale to}
\item{filename}{character. Output filename}
\item{...}{additional arguments for writing files as in \code{\link{writeRaster}}}
}

\value{
Expand Down

0 comments on commit a61c239

Please sign in to comment.