Skip to contents

Selects variables generated by score_scale() from a data frame.

Usage

select_scores(data, names_only = FALSE, index_only = FALSE)

Arguments

data

A data frame

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.