[R] column selection

arun smartpink111 at yahoo.com
Wed Jan 2 15:14:00 CET 2013


May be this helps:

----- Original Message -----
From: eliza botto <eliza_botto at hotmail.com>
To: "r-help at r-project.org" <r-help at r-project.org>
Sent: Wednesday, January 2, 2013 8:59 AM
Subject: [R] column selection

Dear R users,
sorry for a very basic question. i wanted to ask that if your column are too much in number and you want to select the remaining columns, starting from column number 117. one way is to use usual command  
>q[ ,(117:2300)]. 
is there a way by which i can select the remaining columns starting from column number 117 without using the usual command or without giving the column number of the last column?
more precisely, cant i use something like
>q[ ,(117:remaining columns)]
hope my question was clear.
    [[alternative HTML version deleted]]

R-help at r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list