xdc.hist.mx: Getting the Histogram from a Mixture

Description Usage Arguments Value

View source: R/ds_histogram.R

Description

This function supports an arbitrary number of components. The returned probability vector may not sum to 1. The remaining value represents the probability falling outside the range specified in the boundaries

Usage

1
xdc.hist.mx(boundaries, mxs)

Arguments

boundaries,

an array of (upper) bin boundaries. This is usually obtained from the histogram of observed data (xdc.hist.data)

mxs,

a data frame with three columns: (mean, sd, weight), representing the mixture composition

Value

a data frame with two columns:


robustanalytics/xdc documentation built on Sept. 4, 2020, 12:37 a.m.