troppca.obj: Compute Tropical PCA Objective

View source: R/troppca.obj.R

troppca.objR Documentation

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

x_list

a list of vectors

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.


HoujieWang/Rtropical documentation built on May 18, 2022, 11:56 a.m.