simulate_ud_data | R Documentation |
Simulate data points from the Ultimate Deconvolution
model. See ud_fit
for the model definition.
simulate_ud_data(n, w, U, V)
n |
Number of data points to simulate. |
w |
A numeric vector of length k specifying the prior mixture weights. All entries must be non-negative, but need not sum to 1; the mixture weights are automatically normalized to sum to 1. If not provided, all the mixture weights are set to the same value. |
U |
A list of length k specifying the covariance matrices in
the mixture prior; list element |
V |
The m x m residual covariance matrix. If missing, |
An n x m matrix in which each row is a draw from the Ultimate Deconvolution model.
ud_fit
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.