| Group: | Matrix Manipulation |
| Topic: | Sorting and Counting |
| See also: | list append delete names |
| Function: | insert | |
| Description: | inserts an object to the specified position within a list. |
| Usage: | insert (l, pos, x) | |
| Input: | ||
| l | list | |
| pos | integer | |
| x | object | |
l = list (1, 2) insert (l, 2, 44) l
Contents of l.el1 [1,] 1 Contents of l.el2 [1,] 44 Contents of l.el2 [1,] 2
| Group: | Matrix Manipulation |
| Topic: | Sorting and Counting |
| See also: | list append delete names |