computeSimilarityMatrix: Compute similarity matrix.

Description Usage Arguments Value

View source: R/computeSimilarityMatrix.R

Description

Given a list of objects and a function which computes a similarity measure between two objects of the list, computeSimilarity returns a similarity matrix.

Usage

1

Arguments

set

[list]
List of objects.

sim.fun

[function(x, y, ...)]
Function which expects two objects x and y as first and second arguments and returns a scalar value.

...

[any]
Passed down to sim.fun.

Value

[matrix(n, n)] (n,n) matrix with n being the length of set.


jakobbossek/rmoco documentation built on May 10, 2018, 9:53 p.m.