R/normalPdf.R

Defines functions normalPdf

normalPdf <-
function(x, mean, sd){
	a = 1/(sd*sqrt(2*pi))
	b = exp(-((x-mean)^2)/(2*sd^2))
	return(a*b)
	}

Try the selection package in your browser

Any scripts or data that you put into this service are public.

selection documentation built on May 30, 2017, 5:27 a.m.