var_setup: Setting up parameter arrays for vectorized call to d/pnorm...

View source: R/utils.R

var_setupR Documentation

Setting up parameter arrays for vectorized call to d/pnorm functions for multi-component mixture distributions

Description

Setting up parameter arrays for vectorized call to d/pnorm functions for multi-component mixture distributions

Usage

var_setup(mu, sigma, lambda, vlen)

Arguments

mu

See pmnorm documentation

sigma

See pmnorm documentation

lambda

See pmnorm documentation

vlen

(Integer). Length of the x or p vector to be evaluated

Value

A list containing lambda, mu, and sigma


qpmnguyen/CBEA documentation built on April 4, 2022, 7:25 p.m.