An object summarizing the observed mixture model and theoretical models as plottable data.frames

`observed`

data.frame of observed values, with batch and component metadata. Suitable for histogram plotting. Must have the following columns: "batch" (bactor), "component" (factor), "x.val" (numeric).

`theoretical`

data.frame of predicted densities plotted over the range of observed values, with batch and component metadata. Suitable for line plotting. Must have the following columns: "batch" (factor), "component" (factor), "x" (numeric), "y" (numeric).

`nBins`

integer value for reccomended number of bins when plotting over the exact range of '.Data@observed$x.val' . '.Data@predicted$y' has been scaled to bin width, e.g. 'diff(range(.Data@observed$x.val))/nBins' .

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.