[R] D(dnorm...)?

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Thu 26 Jan 2006 - 09:42:52 EST

          Can someone help me understand the following:

> D(expression(dnorm(x, mean)), "mean")
[1] 0
> sessionInfo()

R version 2.2.1, 2005-12-20, i386-pc-mingw32

attached base packages:
[1] "methods" "stats" "graphics" "grDevices" "utils" "datasets" [7] "base"

          By my computations, this should be something like ((mean-x)/sd^2)*dnorm(...).

	  Thanks for your help.
	  Spencer Graves

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jan 26 09:59:09 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:10 EST