Just to add on a bit, please note that the return is superfluous. If you write
this:
normalDensityFunction = function(x, Mean, Variance) {
# no "return" value given at all
(1/sqrt(2*pi*Variance))*exp(-(1/2)*((x - Mean)^2)/Variance)
}
normalDensityFunction(2,0,1)
...you get the
I stand corrected. I have been chided in the past for not explicitly returning
my output by someone claiming it is not best practices.
-Steve
On Mon, 2016-11-14 at 12:22 -0500, Duncan Murdoch wrote:
On 14/11/2016 11:26 AM, Wolf, Steven wrote:
Just to add on a bit, please note
Hi R users,
This isnt a R-specific issue, per-se, but I thought that this list would have
some helpful input on this topic. First, a bit of background. I am working on
a project which is interested in following approx 1000 students each semester,
and collects about 15 different measurements
This seems like the ideal case for a MWE. If we can't reproduce your error, we
can't help diagnose it!
Steve
---
Steven Wolf
Research Associate
CREATE for STEM Institute
Michigan State University
On Feb 1, 2014, at 6:44 AM, Paresys, Lise lise.pare...@wur.nl wrote:
Dear all,
I am
4 matches
Mail list logo