diff --git a/dev/pkgdown.yml b/dev/pkgdown.yml index e7103372ed..9f58872d80 100644 --- a/dev/pkgdown.yml +++ b/dev/pkgdown.yml @@ -11,7 +11,7 @@ articles: rowwise: rowwise.html two-table: two-table.html window-functions: window-functions.html -last_built: 2024-08-27T15:54Z +last_built: 2024-08-27T16:35Z urls: reference: https://dplyr.tidyverse.org/reference article: https://dplyr.tidyverse.org/articles diff --git a/dev/reference/filter_all.html b/dev/reference/filter_all.html index 82da07062e..cd575c52c7 100644 --- a/dev/reference/filter_all.html +++ b/dev/reference/filter_all.html @@ -146,12 +146,12 @@
<data-masking
> Sampling
weights. This must evaluate to a vector of non-negative numbers the same
-length as the input. Weights are automatically standardised to sum to 1.
Details
section for more technical details regarding these
+weights.
Slice does not work with relational databases because they have no
intrinsic notion of row order. If you want to perform the equivalent
operation, use filter()
and row_number()
.
For slice_sample()
, note that the weights provided in weight_by
are
+passed through to the prob
argument of base::sample.int()
. This means
+they cannot be used to reconstruct summary statistics from the underlying
+population. See this discussion
+for more details.