Re: [R] apply a function down each column

2010-01-13 Thread Laetitia Schmid
before you do any analysis. -Peter Ehlers Laetitia Schmid wrote: Dear Peter, thank you for the suggestion. Unfortunately the star did not help. Did it work for you? For me it seems incomplete somehow. Laetitia ________ From: Peter Ehlers [ehl...@ucalgary.ca] Sent: Tuesday, January 12, 2010 09:54 AM T

Re: [R] apply a function down each column

2010-01-12 Thread Peter Ehlers
itia Schmid wrote: Dear Peter, thank you for the suggestion. Unfortunately the star did not help. Did it work for you? For me it seems incomplete somehow. Laetitia ________ From: Peter Ehlers [ehl...@ucalgary.ca] Sent: Tuesday, January 12, 2010 09:54 AM To: Laetitia Schmid Cc: Steve Lianoglou; r-help@

Re: [R] apply a function down each column

2010-01-12 Thread Laetitia Schmid
Lianoglou; r-help@r-project.org Subject: Re: [R] apply a function down each column See inline below. Laetitia Schmid wrote: > Dear Steve, > my solution looks like it would work, but it does not. > I attached a text file with an extract of my data. Maybe you can try it > yoursel

Re: [R] apply a function down each column

2010-01-12 Thread Peter Ehlers
See inline below. Laetitia Schmid wrote: Dear Steve, my solution looks like it would work, but it does not. I attached a text file with an extract of my data. Maybe you can try it yourself. I want to compare C1 with M1, C2 with M2, C3 with M3,,, for each column. I do not really know what the

Re: [R] apply a function down each column

2010-01-12 Thread Laetitia Schmid
Dear Steve, my solution looks like it would work, but it does not. I attached a text file with an extract of my data. Maybe you can try it yourself. I want to compare C1 with M1, C2 with M2, C3 with M3,,, for each column. I do not really know what the problem is. R complains about a syntax e

Re: [R] apply a function down each column

2010-01-11 Thread David Winsemius
On Jan 11, 2010, at 9:18 AM, Steve Lianoglou wrote: Hi, On Mon, Jan 11, 2010 at 8:41 AM, Laetitia Schmid wrote: Hello World, I have a function that makes pairwise comparisons between two strings. I would like to apply this function to my data (which consists of columns with different s

Re: [R] apply a function down each column

2010-01-11 Thread Steve Lianoglou
Hi, On Mon, Jan 11, 2010 at 8:41 AM, Laetitia Schmid wrote: > Hello World, > I have a function that makes pairwise comparisons between two strings. I > would like to apply this function to my data (which consists of columns with > different strings) in the way that it compares the first with th