dist.apply.n: Fill Vector with Values for a Distance Matrix

Description Usage Arguments Value

Description

Create a vector that can be used as backing store for a distance matrix by applying a function FUN to all indices that arise when comparing all the n objects.

Usage

1
dist.apply.n(n, FUN, cores = 1L, logging = FALSE)

Arguments

n

the number of objects to compare

FUN

the function to apply to all index pairs i, j of objects to compare

cores

the number of cores to be used for parallel computation

logging

the logging setup, see makeLogger

Value

a vector of length n(n-1)/2 with the results of FUN


thomasWeise/distanceR documentation built on May 14, 2019, 7:35 a.m.