Skip to content
Prev 43778 / 398513 Next

(Novice-) Problem with the plot-function

I think you meant to do

plot(x, f.x, ...)

BTW, you've re-invented the wheel. See ?dnorm for evaluating the normal pdf.

Best,
Sundar
Felix Eschenburg wrote: