Description Usage Arguments Value
View source: R/synthetic_datasets.R
Create multivariate synthetic data
1  | create_syndata_mv(Z, W, max_var_arr = rep(1, length(W)))
 | 
Z | 
 [N,L] matrix, Latent factors, N observations, L factors  | 
W | 
 a [1,K] list of [L,D_k] matrices or [L,D,K] array, Projections from latent factors to data, D_k variables per dataset  | 
max_var_arr | 
 (optional) [1,K] numeric, Relative maximum amplitude of noise  | 
A list with elements:
data | 
 Data collection as a list of data.frames  | 
Z | 
 Signals used  | 
W | 
 Mixing matrix used  | 
E | 
 Noise  | 
var.coef | 
 Noise multiplication factor used  | 
Each dataset is a data.frame to gain compatibility with lm() and glm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.