vfmrg: Auxiliary function

Description Usage Arguments Details Value Author(s)

View source: R/vfmrg.R

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

1
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


vfcp documentation built on May 2, 2019, 2:52 p.m.