jwutil (version 1.2.3)

strip_for_formula: strip a string so that it can be used as a variable name in a formula.

Description

This excludes many symbols, so just strip all symbols leaving alphanumeric, and no whitespace.

Usage

strip_for_formula(x)

Arguments

x

character vector of potential formula variables

Value

character vector of length x