Ekstrak atau ganti konten slot pada objek dengan struktur kelas formal (S4).
object@name
object@name <- value
| Parameter | Deskripsi |
|---|---|
object |
An object from a formally defined (S4) class. |
name |
The character-string name of the slot, quoted or not. Must be the name of a slot in the definition of the class of object. |
value |
A replacement value for the slot, which must be from a class compatible with the class defined for this slot in the definition of the class of object. |