Description
Returns or sets the "standard" arguments of the distribution function. Standard arguments are the required arguments used by @RISK and BestFit (which do not include shift factors).
Syntax
object.Arg(argIndex as Integer)
Arguments
argIndex (Required Integer) – the index into the array of arguments. The Arg list is one-based (that is, the first argument is 1, the second is 2, etc) and the ordering is the same as in the @RISK and BestFit programs.
Return Value
(Double) – the argument value.
Example
'Create a normal with a mean of 22 and a stdev of 5:
Dim dist as New RDKDistribution
With dist
.DistType = RDKDistTypeNormal
.Arg(1) = 22
.Arg(2) = 5
End With