Auxiliary function used in vfploto
. It computes random
variable value of the CDF or survival which can be
one of the c("weibull", "gamma", "lnorm", "norm", "betapr", "beta").
vfmrg(rdj, i, cosi, yo, cdf)
A character vector. Its components are from c("weibull", "gamma", "lnorm", "norm", "betapr", "beta").
An index of the rdj
A vector of probabilities
Vector size 2*length(rdj)
of parameters of rdj
yo[1], yo[3] |
scale , meanlog ,
mean , shape1 |
yo[2], yo[4] |
shape , sdlog ,
sd , shape2 |
Cumulative distribution function when TRUE
, survival otherwise.
Numeric vector
"betapr"
is the name of 'BetaPrime' distribution from
extrDistr
package. The other name 'BetaPrime' is 'Inverted Beta'.