Learn R Programming

archetypal (version 1.0.0)

find_furthestsum_points: Function which finds the furthest sum points in order to be used as initial solution in archetypal analysis

Description

Function which finds the furthest sum points in order to be used as initial solution in archetypal analysis

Usage

find_furthestsum_points(df, kappas, nfurthest = 100, nworkers = 10,
  sortrows = TRUE)

Arguments

df

The data frame with dimensions n x d

kappas

The number of archetypes

nfurthest

The number of applications for FurthesSum algorithm

nworkers

The number of logical processors that will be used

sortrows

If it is TRUE, then rows will be sorted

Value

A list with members:

  1. outmost, the first kappas furthest sum points as rows of data frame

  2. outmostall, all the furthest sum points that have been found as rows of data frame

  3. outmostfrequency, a matrix with frequency and cumulative frequency for furthest sum rows

See Also

FurthestSum

Examples

Run this code
# NOT RUN {
data("wd3") #3D demo 
df=wd3
yy=find_furthestsum_points(df,kappas = 4,nfurthest = 10,nworkers = 1)
yy$outmost
yy$outmostall
yy$outmostfrequency
# }

Run the code above in your browser using DataLab