Learn R Programming

tlsh (version 0.1.0)

extract_pairs_from_band: Function that extracts pairs of records from a band in the signature matrix M import bit64

Description

Function that extracts pairs of records from a band in the signature matrix M import bit64

Usage

extract_pairs_from_band(a_band)

Arguments

a_band

Band of the signature matrix M

Value

The edgelist of record pairs that are connected

Examples

Run this code
# NOT RUN {
band1 <- c(2,1,2,1,2)
extract_pairs_from_band(band1)
band2 <- c(6,7,8,9,6)
extract_pairs_from_band(band2)
band.12 <- rbind(band1, band2)
apply(band.12,1,extract_pairs_from_band)
# }

Run the code above in your browser using DataLab