These objects are imported from other packages. Follow the links below to see their documentation.
# S3 method for eventlog
sample_n(tbl, size, replace = FALSE, weight = NULL, .env = NULL, ...)# S3 method for grouped_eventlog
sample_n(tbl, size, replace = FALSE, weight = NULL, .env = NULL, ...)
Deprecated; please use log
instead.
integer
: Number of cases to sample
logical
(default FALSE
): Sample with replacement TRUE
or without FALSE
.
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.
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