Learn R Programming

vfcp (version 1.4.0)

vfenuo: Expected values of marginal distributions

Description

Auxiliary function that calculates the expected values of marginal distributions.

Usage

vfenuo(marg, xo)

Arguments

marg

Character vector size greater than or equal to 2. Its components can now be c("weibull", "gamma", "lnorm", "norm", "betapr", "beta").

xo

Vector size 2*length(marg) of parameters of marg.

xo[odd] scale, meanlog, mean, shape1
xo[even] shape, sdlog, sd, shape2

Value

Numeric vector size equal to length(marg).

Examples

Run this code
# NOT RUN {
vfenuo(marg = c("betapr", "beta", "norm", "weibull"),
  xo = c(5, 5, 3, 20, 30, 5, 100, 1.5))
# }

Run the code above in your browser using DataLab