Description Usage Arguments Value Note See Also Examples
This is generic function for distribution objects. This function calculates the probability density function (pdf) for the current parameters and xmin value.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'conlnorm'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'conexp'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'conpl'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'conweibull'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'disexp'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'dislnorm'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'displ'
dist_pdf(m, q = NULL, log = FALSE)
## S4 method for signature 'dispois'
dist_pdf(m, q = NULL, log = FALSE)
|
m |
a distribution object. |
q |
a vector values where the function will be evaluated.
If |
log |
default |
The probability density (or mass) function
This method does *not* alter the internal state of the distribution objects.
dist_cdf
, dist_ll
and dist_rand
1 2 3 4 5 6 7 8 9 10 | ##########################################
#Create distribution object #
##########################################
m = displ$new()
m$setXmin(7); m$setPars(2)
##########################################
#Calculate the pdf at particular values #
##########################################
dist_pdf(m, 7:10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.