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. 13, 2019, 2:18 p.m.