sample_n | R Documentation |
These objects are imported from other packages. Follow the links below to see their documentation.
sample_n
## S3 method for class 'eventlog'
sample_n(tbl, size, replace = FALSE, weight = NULL, .env = NULL, ...)
## S3 method for class 'grouped_eventlog'
sample_n(tbl, size, replace = FALSE, weight = NULL, .env = NULL, ...)
tbl |
Deprecated; please use |
size |
|
replace |
|
weight |
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. |
.env |
Deprecated; please don't use. |
... |
ignored |
sample_n(eventlog)
: Sample n cases of eventlog
sample_n(grouped_eventlog)
: Stratified sampling of a grouped eventlog: sample n cases within each group
slice_sample
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.