troppca.obj: Compute Tropical PCA Objective
Description
Compute Tropical PCA Objective
Usage
troppca.obj(pc, x_list, cl)troppca.obj2(pc, x_list, cl)
Arguments
pc
a matrix of principal components
cl
cluster for parallel computing
Value
The numeric value of the objective function of tropical principle component analysis.
This is the sum of all tropical distance from each point to its projection on the tropical polytope.