simil {Onassis} | R Documentation

## `simil<-`

### Description

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

### Usage

    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

    onassis <- Onassis()
    simil(onassis) <- matrix()

    o <- Onassis()
    simil(o)

[Package Onassis version 1.8.2 Index]