Re: [R] how to remove and add data in a list

2008-09-20 Thread jim holtman
> x <- c(12,13,15,20,33) > x [1] 12 13 15 20 33 > x[x != 15] [1] 12 13 20 33 > c(x,1,2,3,4) [1] 12 13 15 20 33 1 2 3 4 > On Sat, Sep 20, 2008 at 10:19 PM, Severino Salmo III <[EMAIL PROTECTED]> wrote: > > hi, > > i have a simple question. > > if i have a set of numbers within a given list, how

[R] how to remove and add data in a list

2008-09-20 Thread Severino Salmo III
hi, i have a simple question. if i have a set of numbers within a given list, how do i remove a number within that list. Like, if I have water(10, 15, 20, 25, 30) what is the command to remove 15? what is the command to add new numbers? thanks so much, sev -- View this message in context: