Learn R Programming

mStats (version 3.2.2)

enquos: Get names within three dots in a function

Description

enquos retrieves names of arguments from as.list(match.call()) and returns names within three dots ....

checkEnquos() checks colon separators as well as variables whether they are specified or not. if not, it gets all variables within the dataset.

Usage

enquos(.args, .argsName)

checkEnquos(.data, .vars, .types = "tab")

Arguments

.args

argument lists from as.list(match.call())

.argsName

Names of arguments to be removed.

.data

Dataset

.vars

.vars obtained with as.character(enquos())

.types

"tab" to get categorical data; otherwise, numerical data

Value

A character vector

Functions

  • checkEnquos: