Re: [R] Grouping sets of data, performing function and re-assigning values

2010-08-27 Thread Johnny Tkach
3 3 3 3 3 3 3 3 3 or ImageNumber Measurement 1 3 2 3 3 3 I really appreciate your help wit

Re: [R] Grouping sets of data, performing function and re-assigning values

2010-08-27 Thread Johnny Tkach
Hi all, Since I could not attach a file to my original e-mail request, for those who want to look at an example of a data file I am working with, please use this link: http://dl.dropbox.com/u/4637975/exampledata.csv Thanks again, Johnny. __ R-help

[R] Grouping sets of data, performing function and re-assigning values

2010-08-27 Thread Johnny Tkach
Hi there, I hope you have time to read this question and offer a suggestion or two. My basic question is this: I have data in sets of three. I would like to combine the data from each set, perform a function (probably just taking the median and MAD), then re-assign these values to each of t

[R] Problem using 'get'

2010-08-18 Thread Johnny Tkach
an type: > datasplit$"3"$Area R then outputs the list of Area measurements for image 3. However if I type: > get("datasplit$\"3\"$Area") or >get('datasplit$"3"$Area') R returns errors saying the object does not exist. Any help is

[R] Pausing script to allow user input from keyboard.

2010-08-06 Thread Johnny Tkach
Hi all, I have written a simple R script to help me analyze a large data set. I would like to have the script pause to allow the user to input a character string that is subsequently used as a filename when saving tables. I have tried to use the "readline" command - this seems to work fi