sample_n

0th

Percentile

Sample function for eventlog

These objects are imported from other packages. Follow the links below to see their documentation.

dplyr

sample_n

Keywords
internal
Usage
# S3 method for eventlog
sample_n(tbl, size, replace = FALSE, weight, .env)

# S3 method for grouped_eventlog sample_n(tbl, size, replace = FALSE, weight, .env)

Arguments
tbl

Eventlog

size

Number of cases to sample

replace

Sample with replacement or not

weight

N/A

.env

N/A

Methods (by class)

  • eventlog: Sample n cases of eventlog

  • grouped_eventlog: Stratified sampling of a grouped eventlog: sample n cases within each group

Aliases
  • sample_n
  • sample_n.eventlog
  • sample_n.grouped_eventlog
Documentation reproduced from package bupaR, version 0.4.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.