el
Extract or replace part of an object
Description
Extracts or replaces part of an object.
Usage
el(object, where)
el(object, ...) <- value
Arguments
object |
an object
|
where |
a subscript describing which part of object to extract.
|
... |
subscript(s) describing which part of object replace.
|
Details
These functions are wrappers for [[ and [[<- for
approximate compatibility with S-PLUS code. They should not be used
for new code.
Examples
el(list(One=1, Two=2:1), "Two")