powered by
Determines if the distribution functions are available. This is intended for internal use only.
getDistributionFunction(type, dist, ...)
Character, typically either 'r', 'q', 'p', or 'd'.
Character, typically something like 'norm', 'gamma', etc.
Currently ignored.
Function, the first function in the search path that matches the name paste0(type, dist).
paste0(type, dist)
It is determined that paste0(type, dist) is a function and returns that function. The nature of the returned function is not verified.
# NOT RUN { fun <- getDistributionFunction(type="q",dist="norm") # }
Run the code above in your browser using DataLab