Skip to content
Back to formatted view

Raw Message

Message-ID: <CAET1fe5cJqVYtUcRxo881zi1TAU8--Gar36xiAni8nc5z=nn8Q@mail.gmail.com>
Date: 2012-12-18T11:24:00Z
From: e-letter
Subject: syntax for very simple derivative function

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