assignFinIdxPerClSkm: Assign final indices to means that have the smallest angle.

Description Usage Arguments Value Examples

View source: R/mvc-utils.R

Description

Assign final indices to means that have the smallest angle.

Usage

1
assignFinIdxPerClSkm(view1, view2, mPerClV)

Arguments

view1

data matrices (row-wise in unit length).

view2

data matrices (row-wise in unit length).

mPerClV

list of means per Cluster and View.

Value

vector of indices for each data point.

Examples

1
2
3
4
5
6
7
8
## Not run:  
view1 = structure(c(1, 1, -1, 0, 1, 0, -1, -1), .Dim = c(4L, 2L))
view2 = structure(c(1, 1, -1, 0, 1, 0, -1, 0), .Dim = c(4L, 2L))
finIdx = assignFinIdxPerClSkm(view1,view2,mPerClV)
dput(finIdx) 
# c(2, 2, 1, 1)

## End(Not run)

mvc documentation built on May 2, 2019, 11:27 a.m.