View source: R/Distributions_lib.R
GetPdf | R Documentation |
Evaluates the pdf of a distribution
GetPdf(y, dist, par, log = FALSE)
y |
numeric, value at which the pdf is evaluated |
dist |
character, distribution name |
par |
numeric vector, parameter vector |
log |
logical, returns log-pdf if TRUE |
The pdf or the log-pdf as a numeric.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.