Description Usage Arguments Examples
View source: R/tidy-dist-mat.R
print tidy_dist_mat objects
1 2 |
x |
tidy_dist_mat object |
... |
(like |
n |
maximum number of rows or columns of x to print |
1 2 3 4 5 6 7 | inner_data <- data.frame(x = rnorm(3), y = rnorm(3))
my_dist_mat <- as.matrix(dist(inner_data))
rownames_df <- data.frame(id = 1:3)
colnames_df <- data.frame(id = c(1,2,1), id2 = c("f", "f", "s"))
my_tidy_dm <- tidy_dist_mat(my_dist_mat, rownames_df, colnames_df)
print(my_tidy_dm)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.