[R] syntax for very simple derivative function

e-letter inpost at gmail.com
Tue Dec 18 12:24:00 CET 2012


Readers,

Two variables 'M', 'T', each contain a column of numbers.

Have tried to create a derivative function to see how 'M' varies with
respect to 'T':

dm<-D(m)(dm/dt)~dt
dm(m=M,t=T)

but R returns an error:

Error: could not find function "dm"

What is my mistake please?

--
R2151



More information about the R-help mailing list