[R] selecting subsets of data for analysis

Brett Stansfield brett at hbrc.govt.nz
Wed Feb 2 01:54:00 CET 2005


can you tell me how to ask R to analyse a subset of data

eg. supposing the data set consists of 9 columns and I only want R to
analyse columns 1, 3 and 5 

how would I command R to conduct eg. boxplots of those variables only?

thanks
brett
Brett Stansfield 
Environmental Scientist - Water Quality 
Hawke's Bay Regional Council 
102 Vautier Street 
Private Bag 6006 
Napier 
Phone (06) 835-9200 extn 9334 
Fax (06) 835-3601




More information about the R-help mailing list