vfmrg {vfcp}R Documentation

Auxiliary function

Description

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").

Usage

vfmrg(rdj, i, cosi, yo, cdf)

Arguments

rdj

A character vector. Its components are from c("weibull", "gamma", "lnorm", "norm", "betapr", "beta").

i

An index of the rdj

cosi

A vector of probabilities

yo

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
cdf

Cumulative distribution function when TRUE, survival otherwise.

Details

"betapr" is the name of 'BetaPrime' distribution from extrDistr package. The other name 'BetaPrime' is 'Inverted Beta'.

Value

Numeric vector

Author(s)

Josef Brejcha


[Package vfcp version 1.4.0 Index]