?precedence -5:10 is (-5):10
-- Bert Bert Gunter "Data is not information. Information is not knowledge. And knowledge is certainly not wisdom." -- Clifford Stoll On Thu, Jul 2, 2015 at 10:23 PM, Charles Thuo <[email protected]> wrote: > I have a data frame whose rows are 678013 . I would like to remove rows > from 30696 to 678013 and then attach a new column with a length of 30595. > > > I tried > > Y<- X[-30595:678013,] and its not working > > In addition how do i add a new column > > Kindly assist. > > Charles > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

