extractFrom...: extractFrom...

Description Usage Arguments Value Examples

View source: R/TeaSetClass.R

Description

Given a variable name and ..., attempts to extract the variable from ...

Usage

1
extractFrom...(varNames, defaultTo = NULL, ...)

Arguments

varNames

a string with the name of a variable, or a list of such strings

defaultTo

if variable not in ..., return this. Not designed to work with lists.

...

Parameters from which to extract variables

Value

the variable's value, or a list of the variables' values. NULL if cannot be found

Examples

1
## Not run: extractFrom("col",...)

cmpear/TeaSet_Package documentation built on Jan. 10, 2020, 2:46 a.m.