lower | R Documentation |
Display the lower part of a matrix with a specified number of decimals.
lower(matrix, decimals = 3)
matrix |
a symmetric similarity/distance matrix |
decimals |
number of decimals to be displayed |
A data frame of characters.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/
# From a random incidence matrix I(25X4)
I <- matrix(rbinom(100, 1, .5), nrow = 25, ncol = 4,
dimnames = list(NULL, c("A", "B", "C", "D")))
lower(sim(I, "Jaccard"), 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.