▲ | Buttons840 6 days ago | |
How many evaluations of the underlying function does it make? (Hoping someone will fire up their R interpreter and find out.) Or, probably, dnorm is a probability distribution which includes a likeliness function, and a cumulative likeliness function, etc. I bet it doesn't work on arbitrary functions. | ||
▲ | thrasibule 6 days ago | parent [-] | |
R integrate is just a wrapper around quadpack. It works with arbitrary functions, but arguably dnorm is pretty well behaved. |