FWpoint_numerical {TML}R Documentation

Fermat-Weber point numerical solver

Description

Returns the Fermat-Weber point of N points using a gradient based numerical method

Usage

FWpoint_numerical(datamatrix)

Arguments

datamatrix

matrix of dimension N*e, where N is the number of observations which lie in R^e.

Value

Fermat-Weber point approximation (vector in R^e)

Author(s)

Georgios Aliatimis g.aliatimis@lancaster.ac.uk

References

Aliatimis, Georgios, Ruriko Yoshida, Burak Boyaci and James A. Grant (2023). Tropical Logistic Regression on Space of Phylogenetic Trees

Examples

D = matrix(c(0,0,0,0,2,5,0,3,1),3,3,TRUE)
FWpoint_numerical(D)

[Package TML version 1.2.0 Index]