[R] Simple Binning of Values

2012-06-11 Thread Kathryn B Walters-Conte
Hello I am very new to R.  I have an R task to complete that I have not been able to find a straightforward answer to as of yet.  I have a list of values. I would like to count the number of values that are in one bin, the number that fall in the next bin, etc. For example My input file is:  

[R] Code scatter plot data from matrix with 3rd column

2012-07-02 Thread Kathryn B Walters-Conte
Hello I am looking for a simple way to plot my data from a matrix (or data frame) using a 3rd column as category to code the data points. for example: xyz 543240 104230 15901 203241 25781 3042340 357891 405670 45780 50531 Ideally, I'd like 0 or 1 to correspond to a color but I'd settle for a sy