Learn R Programming

bigdist (version 0.1.4)

dist_ij_k: Vectorized version of dist_ij_k_

Description

Convert ij indexes to k indexes for a dist object

Usage

dist_ij_k(i, j, size)

Arguments

i

row indexes

j

column indexes

size

value of size attribute of the dist object

Value

k indexes

Examples

Run this code
# NOT RUN {
dist_ij_k(1:3, 4:6, 10)
# }

Run the code above in your browser using DataLab