Rolf Turner wrote:

>> deriv(expression(sum(x)), "x")
>>    
>>
>
>       does not make any sense.
>  
>
Good point.  But this does:

deriv(expression(sum(log(a*x))), "a")

where a is a scalar.

- Martin

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to