simil {Onassis} | R Documentation |
simil<-
Method to get and set the similarity
slot of the class Onassis-class
simil
simil(object) simil(object) <- value ## S4 replacement method for signature 'Onassis' simil(object) <- value ## S4 method for signature 'Onassis' simil(object)
object |
instance of class |
value |
a matrix of similarities between the entities of an object of class |
the similarity matrix of an object of type Onassis-class
in case of get, the new Onassis-class
instance in case of set
onassis <- Onassis() simil(onassis) <- matrix() o <- Onassis() simil(o)