Skip to content
Prev 180392 / 398503 Next

Function to read a string as the variables as opposed to taking the string name as the variable

On Thu, May 14, 2009 at 12:16 PM, Lori Simpson
<lori.simpson at dc-energy.com> wrote:
It's complex in general, but for cast you can just supply a string:

cast(table, paste(string_with_columns, "~ column4"))

Hadley