Learn R Programming

TML (version 2.3.0)

FWpoint.numerical: Fermat-Weber point numerical solver

Description

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

Usage

FWpoint.numerical(datamatrix)

Value

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

Arguments

datamatrix

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

Author

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

Run this code
D = matrix(c(0,0,0,0,2,5,0,3,1),3,3,TRUE)
FWpoint.numerical(D)

Run the code above in your browser using DataLab