select_items: Select items

View source: R/select_items.R

select_itemsR Documentation

Select items

Description

Selects a data frame with variables of a specific scale

Usage

select_items(data, filter = NULL, names_only = FALSE, index_only = FALSE)

Arguments

data

A data frame with dic information

filter

A logical expression for any dic attribute (e.g. scale == "ITRF" & subscale == "Int")

names_only

If TRUE, variable names are returned instead of a data frame

index_only

If TRUE, variable indices are returned instead of a data frame

Value

A data frame, a vector with variable names, or a vector with indices.


jazznbass/scaledic documentation built on July 19, 2023, 12:50 a.m.