Learn R Programming

bupaR (version 0.5.4)

slice_sample: Sample function for logs

Description

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

dplyr

slice_sample

Usage

# S3 method for log
slice_sample(.data, ..., n, prop, weight_by = NULL, replace = FALSE)

# S3 method for grouped_log slice_sample(.data, ..., n, prop, weight_by = NULL, replace = FALSE)

Arguments

Methods (by class)

  • slice_sample(log): Sample n cases of a log.

  • slice_sample(grouped_log): Sample n cases from a grouped_log.