View source: R/synthesise_data.R
import_cor_matrix | R Documentation |
Imports a correlation matrix from a csv file generated by
export_empty_cor_matrix
import_cor_matrix(file_path = "./correlation_matrix.csv")
file_path |
A path to the csv file, Default: './correlation_matrix.csv' |
A function to import the user specified correlations
generated from the csv file exported by the
export_empty_cor_matrix
function.
Correlations should be entered into the CSV file,
using rank order correlations. The correlation matrix
should be symmetric and be positive semi definite.
a matrix of correlations that can be used with
synthesise_data
export_empty_cor_matrix
is.positive.semi.definite
## Not run:
import_cor_matrix("correlation_matrix.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.