prep_cpop | R Documentation |
Checks before CPOP modelling, and prepare the z-matrices for CPOP modelling.
prep_cpop(x1, x2, force = FALSE)
x1 |
A data matrix of size n times p |
x2 |
A data matrix of size n times p |
force |
If the data matrices has too many columns (p > 200), then the function will not compute output the z-matrices (pairwise column differences of x's). Default to FALSE. |
data(cpop_data_binary, package = 'CPOP') ## Loading simulated matrices and vectors x1 = cpop_data_binary$x1 x2 = cpop_data_binary$x2 prep_cpop(x1 = x1, x2 = x2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.