Group: | Matrix Manipulation |
Topic: | Sorting and Counting |
See also: | list append insert names |
Function: | delete | |
Description: | deletes the object at the given position from the list. |
Usage: | delete (l, pos) | |
Input: | ||
l | list | |
pos | integer |
l = list(1, 2, 3) delete(l, 1) l
Contents of l.el2 [1,] 2 Contents of l.el3 [1,] 3