[R] Integration + Normal Distribution + Directory Browsing Processing Questions

Erich Neuwirth erich.neuwirth at univie.ac.at
Mon Jan 22 20:38:07 CET 2007

Nils Hoeller wrote:
> for example.
> BUT what can I do for dynamic m and sd?
> I want something like integrate(dnorm(,0.6,0.15),0,1), with the first 
> dnorm parameter open for the
> integration but fixed m and sd.

integrate(function(x)dnorm(x,0.1,1.2), 0, 1)
is a way of "fixing" additional parameters.

Erich Neuwirth, University of Vienna
Faculty of Computer Science
Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
Phone: +43-1-4277-39464 Fax: +43-1-4277-39459

More information about the R-help mailing list