Learn R Programming

speccurvieR (version 0.4.2)

duplicate_remover: Removes duplicate control variables

Description

Removes duplicate control variables from user input.

Usage

duplicate_remover(controls, x)

Value

A vector of strings containing control variable names

Arguments

controls

A vector of strings containing control variable names.

x

A string containing the independent variable name.

Examples

Run this code
duplicate_remover(controls = c("control1", "control2*control3"),
                  x = "independentVariable");

Run the code above in your browser using DataLab