gen_path_mat {gimmeTools} | R Documentation |
Generate path matrix from data file
Description
Helper function to generate an empty similarity matrix based on header of individual data file
Usage
gen_path_mat(x, diag = T)
Arguments
x |
The data file |
diag |
Whether diagonal elements should exist |
Value
Empty matrix with named rows and columns corresponding to individual data files
Examples
gen_path_mat(data.frame(V1 = rnorm(10, 0, 1), V2 = rnorm(10, 0, 1)))
[Package gimmeTools version 0.1 Index]