lower: Similarity/distance matrix display.

lowerR Documentation

Similarity/distance matrix display.

Description

Display the lower part of a matrix with a specified number of decimals.

Usage

lower(matrix, decimals = 3)

Arguments

matrix

a symmetric similarity/distance matrix

decimals

number of decimals to be displayed

Value

A data frame of characters.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

# 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)

netCoin documentation built on Oct. 18, 2024, 5:10 p.m.