sample_rows: Samples rows from a table

Description Usage Arguments Value

View source: R/exploratory.R

Description

Samples rows from a table

Usage

1
sample_rows(tab, k = 5, replace = FALSE)

Arguments

tab

A data fram

k

The number of rows to sample

Value

Random subset of rows from the data frame


snarles/introStatML documentation built on May 26, 2017, 1:21 p.m.