powered by
Evaluates the pdf of a distribution
GetPdf(y, dist, par, log = FALSE)
The pdf or the log-pdf as a numeric.
numeric, value at which the pdf is evaluated
character, distribution name
numeric vector, parameter vector
logical, returns log-pdf if TRUE
GetPdf(0,'Normal',c(0,1)) GetPdf(200,'GEV',c(100,25,-0.2)) GetPdf(200,'GEV',c(100,25,0.2)) GetPdf(3,'Poisson',0.75)
Run the code above in your browser using DataLab