simil: 'simil<-'

Description Usage Arguments Value Examples

Description

Method to get and set the similarity slot of the class Onassis-class

Usage

1
2
3
4
5
6
7
8
9
simil(object)

simil(object) <- value

## S4 replacement method for signature 'Onassis'
simil(object) <- value

## S4 method for signature 'Onassis'
simil(object)

Arguments

object

instance of class Onassis-class

value

a matrix of similarities between the entities of an object of class Onassis-class

Value

the similarity matrix of an object of type Onassis-class in case of get, the new Onassis-class instance in case of set

Examples

1
2
3
4
5
onassis <- Onassis()
simil(onassis) <- matrix()

o <- Onassis()
simil(o)

Onassis documentation built on Nov. 8, 2020, 8:18 p.m.