View source: R/PO2PLS_functions.R
generate_data | R Documentation |
Generate two datasets based on PO2PLS
generate_data(N, params, distr = rnorm)
N |
Positive integer. Sample size to be simulated |
params |
A list as generated by |
distr |
Function. One of the random number generator functions (e.g. rnorm) for generating latent variables |
A list containing the X and Y matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.