[R] Variable name as string

Jan private jrheinlaender at gmx.de
Sun Oct 17 07:46:10 CEST 2010


> coeffname <- deparse(substitute(var))
> 
> Is that what you wanted?
> 
Yes! That gets rid of the extra parameter.

Thanks



More information about the R-help mailing list