View source: R/create_scaling_matrices.R
Take two matrices split them if required to be of the same size and square Then take the ratio of the maximum eigenvalues
1 2 3 4 5 6 7 8 9 10 11 12 |
comix_survey |
Survey object for CoMix. |
polymod_survey |
Survey object for POLYMOD. |
matrices_path |
File path where the matrices should be saved. |
file_name |
Name of file for multiple matrices to be save into. |
observed |
Logical parameter, defaulted to FALSE, for saving the observed contact matrices function. |
phys |
Logical parameter, defaulted to false, if true then only physical contacts are returned. |
... |
passed onto 'create_cm'phys Logical parameter, defaulted to false, if true then only physical contacts are returned. |
split2 |
Logical parameter, defaulted to FALSE, for splitting the second matrix. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.