Displaying 2 results from an estimated 2 matches for "graphmodeldpdt".
2018 Apr 07
0
Obtain gradient at multiple values for exponential decay model
...)
graphmodelplin <- predict( graphmodeld
, newdata = data.frame( t = nd )
)
graphmodelp <- exp(graphmodelplin)
graphmodelp
#> 1 2 3
#> 46.13085 16.58317 11.79125
# derivative of exp( a + b*t ) is b * exp( a + b*t )
graphmodeldpdt <- coef( graphmodeld )[ 2 ] * graphmodelp
graphmodeldpdt
#> 1 2 3
#> -0.31464113 -0.11310757 -0.08042364
# Ellison suggestion - fancy, only works for simple functions
dc <- deriv( expression( exp( a + b * t ) )
, namevec = "t"...
2018 Apr 06
3
Obtain gradient at multiple values for exponential decay model
> On Apr 6, 2018, at 8:03 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>
>> On Apr 6, 2018, at 3:43 AM, g l <gnulinux at gmx.com> wrote:
>>
>>> Sent: Friday, April 06, 2018 at 5:55 AM
>>> From: "David Winsemius" <dwinsemius at comcast.net>
>>>
>>>
>>> Not correct. You already have