View source: R/getDistributionFunction.R
getDistributionFunction | R Documentation |
Determines if the distribution functions are available. This is intended for internal use only.
getDistributionFunction(type, dist, ...)
type |
Character, typically either 'r', 'q', 'p', or 'd'. |
dist |
Character, typically something like 'norm', 'gamma', etc. |
... |
Currently ignored. |
It is determined that paste0(type, dist)
is a function and returns that function. The nature of the returned function is not verified.
Function, the first function in the search path that matches the name paste0(type, dist)
.
fun <- getDistributionFunction(type="q",dist="norm")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.