get_constant_vars {admiraldev}R Documentation

Get Constant Variables

Description

Get Constant Variables

Usage

get_constant_vars(dataset, by_vars, ignore_vars = NULL)

Arguments

dataset

A data frame.

by_vars

By variables The groups defined by the by variables are considered separately. I.e., if a variable is constant within each by group, it is returned.

ignore_vars

Variables to ignore The specified variables are not considered, i.e., they are not returned even if they are constant (unless they are included in the by variables).

Permitted Values: A list of variable names or selector function calls like starts_with("EX")

Value

Variable vector.

See Also

Brings something to you!?!: get_dataset(), get_duplicates(), get_source_vars()


[Package admiraldev version 1.1.0 Index]