Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread Ryan Utz
-help@r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths Thanks for the help, everyone. However, no solution yet... My vectors names are neatly stored in a character vector of their own. This happens based on how they were imported. So, say I have vectors

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-13 Thread William Dunlap
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Trevor Carey- Smith Sent: Monday, December 12, 2011 4:22 PM To: r-help@r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths On 12/13/2011 12:14

[R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create a list of the vectors I want to compare. But I cannot, for the life of me,

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Sarah Goslee
Hi, On Mon, Dec 12, 2011 at 4:24 PM, Ryan Utz utz.r...@gmail.com wrote: Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Thomas Adams
Ryan, I think you could do what you want by having the vector data written to separate files; then create a file containing the individual file names. In R, read the file containing the list of file names and loop through this reading in the individual vector files. Maybe this is an inelegant,

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Sorry -- previous versiuon prematurely sent. Full version is: Yikes!  You should never have to do this sort of thing (writing stuff out to files, etc.) What is wanted, I believe, is ?do.call as in do.call(boxplot, z) where z is list(a,b,c)   as Sarah described. However, I think you

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Thomas Adams
Bert, I may be mistaken, but I thought Ryan wrote write code that automatically *imports data* from different files (with different lengths-just one variable), so, I was referring to doing something with the data before it gets into R. I understand that one should not need to write out data and

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Vining, Kelly
-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can successfully import the data and create

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Ryan Utz
] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Peter Ehlers
, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable) and makes tidy box plots for comparison. I can

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Bert Gunter
Thomas: I stand corrected. Thank you. -- Bert On Mon, Dec 12, 2011 at 2:21 PM, Thomas Adams thomas.ad...@noaa.gov wrote: Bert, I may be mistaken, but I thought Ryan wrote write code that automatically imports data from different files (with different lengths-just one variable), so, I was

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread William Dunlap
-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 3:15 PM To: r-help@r-project.org Subject: Re: [R] Boxplot of multiple vectors with different lengths Thanks for the help, everyone. However, no solution yet... My

Re: [R] Boxplot of multiple vectors with different lengths

2011-12-12 Thread Trevor Carey-Smith
-project.org] On Behalf Of Ryan Utz Sent: Monday, December 12, 2011 1:24 PM To: r-help@r-project.org Subject: [R] Boxplot of multiple vectors with different lengths Hello, I'm attempting to write a code that automatically imports data from different files (with different lengths-just one variable