Separation2Similarity: a method which convert separation to similarity

Description Usage Arguments Value Author(s) See Also Examples

Description

convert a separation matrix to a similarity matrix

Usage

1

Arguments

data

a numeric/integer matrix calculated by method Separation

Value

a similarity matrix

Author(s)

Peng Ni

See Also

Separation

Examples

1
2
a<-matrix(c(-4:4),3,3)
Separation2Similarity(a)

Example output

Loading required package: igraph

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union



      [,1]  [,2]  [,3]
[1,] 1.000 0.625 0.250
[2,] 0.875 0.500 0.125
[3,] 0.750 0.375 0.000

dSimer documentation built on May 2, 2019, 12:40 a.m.