Description Usage Arguments Value
View source: R/simulate_data.R
Create simulated data for testing.
1 | simulateData(N, p, theta, sds, df = 10)
|
N |
number of observations |
p |
a vector indicating probability of membership to each component |
theta |
a vector of means, one per component |
sds |
a vector of standard deviations, one per component |
df |
length-1 numeric vector for the t-distribution degrees of freedom |
An object of class 'SingleBatchModel'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.