heom: An implementation of the HEOM metric.

Description Usage Arguments Details Value References

View source: R/calc_dist.R

Description

This creates distance matrix from given data.

Usage

1

Arguments

data

The data frame to calculate the distance matrix from.

Details

Please note that the function doesn't scale the variables.

TODO: This breaks, if the data has only one column. Also, check if the sapply- way to check numerics and factors is correct, since if there's only one column, it returns logical vector for all cases, not for the column.

For further reading, see \insertCiteWilson:HEOM1997evoxploit.

Adapted from https://github.com/Tommytronic/Scatter-R/blob/master/R/heom.R.

Value

A distance matrix.

References

\insertAllCited
unmnn/evoxploit documentation built on Oct. 28, 2020, 12:24 p.m.