| generic_distribution_functions | R Documentation |
Generic functions for computing various properties of statistical distributions.
cdf(x, ...)
logcdf(x, ...)
pdf(x, ...)
logpdf(x, ...)
hazard(x, ...)
chf(x, ...)
mode(x, ...)
standard_deviation(x, ...)
support(x, ...)
variance(x, ...)
skewness(x, ...)
kurtosis(x, ...)
kurtosis_excess(x, ...)
x |
A distribution object created by a distribution constructor function. |
... |
Additional arguments passed to specific methods. |
A single numeric value with the computed probability density, log-probability density, cumulative distribution, log-cumulative distribution, quantile, mean, median, mode, range, standard deviation, support, variance, skewness, kurtosis, or excess kurtosis depending on the function called.
# Create a Weibull distribution
weibull_dist <- weibull_distribution(shape = 2, scale = 1)
# Compute the CDF at a specific point
cdf(weibull_dist, 1)
# Check support
support(weibull_dist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.