select_rows: Select rows so they retain tabulate attributes

Description Usage Arguments Value

View source: R/select_rows.R

Description

Since tabulate utilises attributes assigned to columns, traditional methods of selecting rows will lose these attributes. This function will returns the selected rows with tabulate attributes intact.

Usage

1
select_rows(x, index)

Arguments

x

tibble or data frame

index

rows we wish to select

Value

tibble with tabulate attributes


OpenSourceMindshare/surveytools documentation built on Aug. 14, 2019, 10:38 a.m.