Skip to content

Commit

Permalink
improves docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowosad committed Sep 8, 2024
1 parent f50087f commit 22b63d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/sample_lsm.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' @description Sample metrics
#'
#' @param landscape A categorical raster object: SpatRaster; Raster* Layer, Stack, Brick; stars or a list of SpatRasters.
#' @param y 2-column matrix with coordinates or sf point geometries.
#' @param y 2-column matrix with coordinates, sf point geometries, or sf polygon geometries.
#' @param plot_id Vector with id of sample points. If not provided, sample
#' points will be labelled 1...n.
#' @param shape String specifying plot shape. Either "circle" or "square"
Expand All @@ -25,7 +25,7 @@
#' landscape boundary. Therefore, we report the actual clipped sample plot area relative
#' in relation to the theoretical, maximum sample plot area e.g. a sample plot only half
#' within the landscape will have a `percentage_inside = 50`. Additionally, if the polygon
#' representing the sample plot is smaller than the cell size of the raster,
#' representing the sample plot is smaller than the cell size of the raster,
#' the `percentage_inside` may exceed 100%.Please be aware that the
#' output is slightly different to all other `lsm`-function of `landscapemetrics`.
#'
Expand Down
2 changes: 1 addition & 1 deletion man/sample_lsm.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22b63d4

Please sign in to comment.