fitnessDist {rSHAPE} | R Documentation |
This is the function that will call for draws from distributions.
Description
This is the function that will call for draws from distributions.
Usage
fitnessDist(tmpDraws, tmpDistribution, tmpParameters)
Arguments
tmpDraws |
This is the number of draws sought from the distribution being called |
tmpDistribution |
This is the character string that represents the implemented distribution you want called. It must be one of: Fixed, Gamma, Uniform, Normal, Chi2, beta, exp, evd, rweibull, frechet, skewNorm |
tmpParameters |
This is the ordered vector of parameters to be passed in order to parameterise the distribution from which you want to draw |
Value
A vector of values with length equal to tmpDraws
Examples
# This draws from distributions
fitnessDist(10, "Uniform", c(0,1))
fitnessDist(10, "Normal", c(0,1))
fitnessDist(10, "exp", 1)
[Package rSHAPE version 0.3.2 Index]