Skip to content

Commit 68257fa

Browse files
committed
docs
1 parent 48aea57 commit 68257fa

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

R/sample.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ st_sample = function(x, size, ...) UseMethod("st_sample")
2626
#' the same as specified by \code{size}? \code{TRUE} by default. Only applies to polygons, and
2727
#' when \code{type = "random"}.
2828
#' @param progress logical; if \code{TRUE} show progress bar (only if \code{size} is a vector).
29-
#' @force logical; if `TRUE` continue when the sampled bounding box area is more than 1e4 times the area of interest, else (default) stop with an error. If this error is not justified, try setting `oriented=TRUE`, see details.
29+
#' @param force logical; if `TRUE` continue when the sampled bounding box area is more than 1e4 times the area of interest, else (default) stop with an error. If this error is not justified, try setting `oriented=TRUE`, see details.
3030
#' @return an \code{sfc} object containing the sampled \code{POINT} geometries
3131
#' @details if \code{x} has dimension 2 (polygons) and geographical coordinates (long/lat), uniform random sampling on the sphere is applied, see e.g. \url{https://mathworld.wolfram.com/SpherePointPicking.html}.
3232
#'

man/st_sample.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)