getDistributionFunction {windAC} | R Documentation |
Getting distribution functions
Description
Determines if the distribution functions are available. This is intended for internal use only.
Usage
getDistributionFunction(type, dist, ...)
Arguments
type |
Character, typically either 'r', 'q', 'p', or 'd'. |
dist |
Character, typically something like 'norm', 'gamma', etc. |
... |
Currently ignored. |
Details
It is determined that paste0(type, dist)
is a function and returns that function. The nature of the returned function is not verified.
Value
Function, the first function in the search path that matches the name paste0(type, dist)
.
Examples
fun <- getDistributionFunction(type="q",dist="norm")
[Package windAC version 1.2.10 Index]