[R] list of variables of an expression

Alberto Lusiani alusiani at gmail.com
Wed Jun 16 03:24:40 CEST 2010


David and Marc,

thanks, both your answers work for me.

all.vars() is ideal for me as I can get a vector of characters which I
can use as argument of deriv() to get a vector of derivatives of an
expresssion for all its variables.

On Wed, Jun 16, 2010 at 12:28 AM, Marc Schwartz <marc_schwartz at me.com> wrote:
> On Jun 15, 2010, at 5:07 PM, David Winsemius wrote:
[...]

Greetings,
-- 
Alberto



More information about the R-help mailing list