lookvar: Look variables in a dataframe using regular expressions.

Description Usage Arguments Value Examples

View source: R/lookvar.R

Description

The getvars function gets ACS variable names from text containing formulas with addition, substraction, and/or division operators.

Usage

1
lookvar(dat, varnames)

Arguments

dat

data.frame object. Character or vector of characters with formulas using ACS variable names.

varnames

Character or vector with regular expressions containing variables names.

Value

Returns the variables names of the variables found.

Examples

1
lookvar(dat, "gender")

sdaza/sdazar documentation built on May 29, 2019, 4:20 p.m.